Self-hosted, plugin-based server management.
TypeScript dockerhomelabpluginsrdpremote-desktopself-hostedserver-managementsftpsshterminaltermixvnc
fix: svg donation generator push fail
LukeGus97124bc3b6a3
diff --git a/.github/workflows/donation-goal.yml b/.github/workflows/donation-goal.ymlindex 95fe52dd2..54fde243a 100644--- a/.github/workflows/donation-goal.yml+++ b/.github/workflows/donation-goal.yml@@ -12,6 +12,8 @@ jobs:contents: writesteps:- uses: actions/checkout@v4+ with:+ token: ${{ secrets.PUSH_TOKEN }}- name: Generate donation goal SVGrun: |@@ -109,19 +111,18 @@ jobs:PYEOF- name: Commit SVGrun: |- git config user.name "github-actions[bot]"- git config user.email "github-actions[bot]@users.noreply.github.com"+ git config user.name "LukeGus"+ git config user.email "[email protected]"git add repo-images/donation-goal.svgif git diff --cached --quiet; thenexit 0fi# Amend the previous bot commit if it exists, otherwise create a new oneLAST_AUTHOR=$(git log -1 --format='%ae')- 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" = "[email protected]" ]; thengit commit --amend --no-edit- git push --force-with-lease "$REMOTE" HEAD:main+ git push --force-with-lease origin HEAD:mainelsegit commit -m "chore: update donation goal badge"- git push "$REMOTE" HEAD:main+ git push origin HEAD:mainfi