Skip to content

Commit

Permalink
Update schedule.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rr-tri committed Dec 1, 2023
1 parent 3b0d9a8 commit 5232eeb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,17 @@ jobs:
uses: jtalk/url-health-check-action@v3
with:
url: 'https://full-stack-open-pokedex-7vtq.onrender.com'
- name: Health Check Success
uses: rjstone/discord-webhook-notify@v1
if: success()
with:
severity: info
text: A new health check succeded.
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
- name: Health Check Failure and Show Commit Info
uses: rjstone/discord-webhook-notify@v1
if: failure()
with:
severity: error
text: Health check failed!
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit 5232eeb

Please sign in to comment.