Revert "temporarily disable discord notifications"
This reverts commit 7d78fda879.
This commit is contained in:
parent
22c0618583
commit
b8454b0b3f
2 changed files with 12 additions and 12 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -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.'
|
||||
|
|
|
|||
12
.github/workflows/integration-tests.yml
vendored
12
.github/workflows/integration-tests.yml
vendored
|
|
@ -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.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue