ci: make tea login idempotent (delete stale login before add)
This commit is contained in:
@@ -49,6 +49,7 @@ jobs:
|
||||
echo "no tag ref; run this workflow from a v* tag"
|
||||
exit 1
|
||||
fi
|
||||
tea login delete ci >/dev/null 2>&1 || true
|
||||
tea login add --name ci --url https://git.mroberts.dev --token "$GITEA_TOKEN"
|
||||
tea releases create \
|
||||
--login ci \
|
||||
|
||||
Reference in New Issue
Block a user