Self-hosted, plugin-based server management.
TypeScript dockerhomelabpluginsrdpremote-desktopself-hostedserver-managementsftpsshterminaltermixvnc
chore: move donation badge to badges branch to avoid ruleset conflicts
LukeGus3a3b51d1aef6
diff --git a/.github/workflows/donation-goal.yml b/.github/workflows/donation-goal.ymlindex 54fde243a..a42f36fd8 100644--- a/.github/workflows/donation-goal.yml+++ b/.github/workflows/donation-goal.yml@@ -13,6 +13,7 @@ jobs:steps:- uses: actions/checkout@v4with:+ ref: badgestoken: ${{ secrets.PUSH_TOKEN }}- name: Generate donation goal SVG@@ -86,7 +87,6 @@ jobs:goal_display = f'${int(goal):,}'- # SVG dimensionsW = 400BAR_W = 360BAR_X = 20@@ -105,24 +105,18 @@ jobs:<text x="{W//2}" y="44" font-family="sans-serif" font-size="10" fill="#F3904499" text-anchor="middle">{pct_label}</text></svg>'''- with open('repo-images/donation-goal.svg', 'w') as f:+ with open('donation-goal.svg', 'w') as f:f.write(svg)print(f'SVG written: {display} / {goal_display} ({round(pct)}%)')PYEOF+- name: Commit SVGrun: |git config user.name "LukeGus"git config user.email "[email protected]"- git add repo-images/donation-goal.svg+ git add donation-goal.svgif git diff --cached --quiet; thenexit 0fi- # Amend the previous bot commit if it exists, otherwise create a new one- LAST_AUTHOR=$(git log -1 --format='%ae')- if [ "$LAST_AUTHOR" = "[email protected]" ]; then- git commit --amend --no-edit- git push --force-with-lease origin HEAD:main- else- git commit -m "chore: update donation goal badge"- git push origin HEAD:main- fi+ git commit -m "chore: update donation goal badge"+ git push origin HEAD:badges