feat: check token in joj3-forge-convert
All checks were successful
push / build (push) Successful in 55s
All checks were successful
push / build (push) Successful in 55s
This commit is contained in:
parent
042490e56b
commit
6259f56f7c
|
@ -72,6 +72,10 @@ EOF
|
|||
GITEA_ORG_NAME=$org_name
|
||||
GITEA_ACCESS_TOKEN=$TEAPOT_GITEA_TOKEN
|
||||
EOF
|
||||
if ! joint-teapot joj3-check-gitea-token "$teapot_config_dir/teapot.env"; then
|
||||
echo "FATAL: TEAPOT_GITEA_TOKEN invalid, cannot get current Gitea user" >&2
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "FATAL: TEAPOT_GITEA_TOKEN not set" >&2
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user