Revert "temporarily disable discord notifications"

This reverts commit 7d78fda879262e11defae758e8111a193199e053.
This commit is contained in:
Robin Malfait 2026-01-06 16:40:50 +01:00
parent 22c0618583
commit b8454b0b3f
No known key found for this signature in database
2 changed files with 12 additions and 12 deletions

View File

@ -106,9 +106,9 @@ jobs:
- name: Run Playwright tests
run: npm run test:ui
# - name: Notify Discord
# if: failure() && github.ref == 'refs/heads/main'
# uses: discord-actions/message@v2
# with:
# webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
# message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'
- name: Notify Discord
if: failure() && github.ref == 'refs/heads/main'
uses: discord-actions/message@v2
with:
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'

View File

@ -109,9 +109,9 @@ jobs:
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
# - name: Notify Discord
# if: failure() && github.ref == 'refs/heads/main'
# uses: discord-actions/message@v2
# with:
# webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
# message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'
- name: Notify Discord
if: failure() && github.ref == 'refs/heads/main'
uses: discord-actions/message@v2
with:
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'