Skip to content

Commit

Permalink
Notify slack on deploy fail
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley authored and Virginia Dooley committed May 24, 2024
1 parent 597ff5c commit 8be343b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,18 @@ jobs:
paths:
- .venv
key: v1-deploy-{{ checksum "requirements/deploy.txt" }}

- slack/notify:
event: fail
template: basic_fail_1


workflows:
version: 2
test_build_deploy:
jobs:
- build_and_test
- deploy:
requires:
- build_and_test
filters: { branches: { only: [ main, master, deployment-upgrades] } }
context: [ deployment-production-ynr ]
context: [ deployment-production-ynr, slack-secrets ]

0 comments on commit 8be343b

Please sign in to comment.