Add failure notification

This commit is contained in:
Stéphane Nicoll
2024-11-19 15:14:00 +01:00
parent 03daa33a58
commit 713b95cc33
2 changed files with 46 additions and 0 deletions

View File

@@ -62,3 +62,10 @@ jobs:
context-path: /
cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE_ID }}
cloudflare-cache-token: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
- name: Send Notification
if: failure()
uses: ./.github/actions/send-notification
with:
run-name: ${{ format('{0} | Build and Deploy Docs', github.ref_name) }}
status: ${{ job.status }}
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}