Skip to content

Commit

Permalink
fake fail test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecheseldine committed Jul 23, 2022
1 parent 70836b5 commit e1b7ca2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,14 @@ jobs:

- name: Send discord notification
run: curl -s -X POST "${{ secrets.DISCORD_WEBHOOK }}" -d "content=🚀 Deployment Successful"
fail:
name: "fake fail"
runs-on: ubuntu-latest
steps:
- name: fail
run: exit 1
failure:
needs: [test, deploy]
needs: [test, deploy, fail]
name: "Send failure message"
runs-on: ubuntu-latest
if: ${{ failure() }}
Expand Down

0 comments on commit e1b7ca2

Please sign in to comment.