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 d47f087 commit 9d23c95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
failure-notification:
name: "Notify Failure"
runs-on: ubuntu-latest
needs: deploy
if: ${{ failure() }}
if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion != 'success' }}
steps:
- name: Send Discord Notification on Failure
run: curl -s -X POST "${{ secrets.DISCORD_WEBHOOK }}" -d "content=🚨 Deployment Failed"

0 comments on commit 9d23c95

Please sign in to comment.