Skip to content

Commit

Permalink
Notify in Discord when nightly runs of tutorial build fail (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
kategengler authored Feb 24, 2023
1 parent ef0fc37 commit aeead18
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ jobs:
with:
name: code (${{ matrix.channel }})
path: dist/code/super-rentals
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
if: ${{ failure() && github.event_name == 'schedule' }}
with:
webhook: ${{ secrets.CORE_META_WEBHOOK }}
status: "Failure"
title: "Super Rentals Tutorial Build ${{ matrix.channel }}"
color: 0xcc0000
url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
username: GitHub Actions

deploy-guides:
# This job deploys the markdown output to the super-rentals-tutorial branch
Expand Down

0 comments on commit aeead18

Please sign in to comment.