Skip to content

Commit

Permalink
testing failure workflow again
Browse files Browse the repository at this point in the history
  • Loading branch information
gigabite-pro committed Aug 9, 2024
1 parent 697ecd4 commit 9e87a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
name: "Notify Failure"
runs-on: ubuntu-latest
needs: [test, deploy]
if: ${{ needs.test.result == 'failure' || needs.deploy.result == 'failure' }}
if: failure()
steps:
- name: Send Discord Notification on Failure
run: curl -s -X POST "${{ secrets.DISCORD_WEBHOOK }}" -d "content=🚨 Deployment Failed"

0 comments on commit 9e87a25

Please sign in to comment.