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"
|
echo "no tag ref; run this workflow from a v* tag"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
tea login delete ci >/dev/null 2>&1 || true
|
||||||
tea login add --name ci --url https://git.mroberts.dev --token "$GITEA_TOKEN"
|
tea login add --name ci --url https://git.mroberts.dev --token "$GITEA_TOKEN"
|
||||||
tea releases create \
|
tea releases create \
|
||||||
--login ci \
|
--login ci \
|
||||||
|
|||||||
Reference in New Issue
Block a user