Skip to content

Commit b8454b0

Browse files
committed
Revert "temporarily disable discord notifications"
This reverts commit 7d78fda.
1 parent 22c0618 commit b8454b0

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ jobs:
106106
- name: Run Playwright tests
107107
run: npm run test:ui
108108

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

.github/workflows/integration-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ jobs:
109109
env:
110110
GITHUB_WORKSPACE: ${{ github.workspace }}
111111

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

0 commit comments

Comments
 (0)