feat(ci): add telegram failure notification to forgejo actions workflow
Some checks failed
Deploy Flowstate to VPS / deploy (push) Failing after 2s

This commit is contained in:
Chneemann 2026-08-22 07:26:32 +02:00
parent 9802febef3
commit c4eb13583e
No known key found for this signature in database

View file

@ -34,3 +34,15 @@ jobs:
docker image prune -f
echo "Deployment completed successfully."
- name: Send Telegram notification on failure
if: failure()
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
message: |
❌ Deployment Failed!
Repository: ${{ github.repository }}
Commit: ${{ github.sha }}
Workflow: ${{ github.workflow }}