This commit is contained in:
parent
6fd0e74b1c
commit
e3576a86ef
|
@ -73,11 +73,11 @@ GITEA_ORG_NAME=$org_name
|
|||
GITEA_ACCESS_TOKEN=$TEAPOT_GITEA_TOKEN
|
||||
EOF
|
||||
if ! (cd /tmp && joint-teapot joj3-check-gitea-token "$teapot_config_dir/teapot.env"); then
|
||||
echo "FATAL: TEAPOT_GITEA_TOKEN invalid" >&2
|
||||
echo "FATAL: TEAPOT_GITEA_TOKEN invalid, ask admin to update it" >&2
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "FATAL: TEAPOT_GITEA_TOKEN not set" >&2
|
||||
echo "FATAL: TEAPOT_GITEA_TOKEN not set, ask admin to set it" >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user