CI fix tentative #19
Some checks failed
Build and deploy all / build (test.json, /var/www/crashtest, test) (push) Successful in 42s
Build and deploy all / deploy (test.json, /var/www/crashtest, test) (push) Failing after 10s
Build and deploy all / notify (push) Successful in 1s

This commit is contained in:
Gu://em_ 2026-03-30 22:47:47 +02:00
parent 12531da5aa
commit 30d438e0cb

View file

@ -81,6 +81,14 @@ jobs:
include: *site_matrix
steps:
- name: Install Deployment Tools
run: |
if command -v apk >/dev/null; then
apk add --no-cache rsync openssh-client
else
apt-get update && apt-get install -y rsync openssh-client
fi
- name: Setup SSH
env:
SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
@ -106,18 +114,6 @@ jobs:
if: always() # Always run
steps:
- name: Send Discord Notification
# uses: https://github.com/appleboy/discord-action@master
# with:
# color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }}
# message: |
# **Deployment Report**
# **Status:** ${{ needs.deploy.result }}
# **Repo:** ${{ github.repository }}
# **Commit:** ${{ github.sha }}
# webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
# webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
# Trial with curl as the above just fails
run: |
STATUS="${{ needs.deploy.result }}"
COLOR=$([ "$STATUS" == "success" ] && echo "48867" || echo "16711680")