fix: svg donation generator push fail

This commit is contained in:
LukeGus
2026-06-29 14:26:30 -05:00
parent 30acbed1a7
commit fe96e68872
+1 -1
View File
@@ -117,7 +117,7 @@ jobs:
fi fi
# Amend the previous bot commit if it exists, otherwise create a new one # Amend the previous bot commit if it exists, otherwise create a new one
LAST_AUTHOR=$(git log -1 --format='%ae') LAST_AUTHOR=$(git log -1 --format='%ae')
REMOTE="https://x-access-token:${{ secrets.GHCR_TOKEN }}@github.com/${{ github.repository }}.git" REMOTE="https://x-access-token:${{ secrets.PUSH_TOKEN }}@github.com/${{ github.repository }}.git"
if [ "$LAST_AUTHOR" = "github-actions[bot]@users.noreply.github.com" ]; then if [ "$LAST_AUTHOR" = "github-actions[bot]@users.noreply.github.com" ]; then
git commit --amend --no-edit git commit --amend --no-edit
git push --force-with-lease "$REMOTE" HEAD:main git push --force-with-lease "$REMOTE" HEAD:main