Skip to content

Commit

Permalink
DEV: stop workflow when deployment fails to trigger
Browse files Browse the repository at this point in the history
partially addresses #33 for 5xx errors
  • Loading branch information
dwhieb committed Feb 20, 2021
1 parent 606e6f8 commit e0694ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
steps:
- name: Send HTTP request to webhook
run: >-
curl -X POST https://deploy.altlab.dev/korp-frontend-dev -d '{
curl -X POST https://deploy.altlab.dev/korp-frontend-dev --fail -d '{
"secret": "${{ secrets.DEPLOY_ALTLAB_DEV }}" }' -H 'Content-Type:
application/json'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
steps:
- name: Send HTTP request to webhook
run: >-
curl -X POST https://deploy.altlab.dev/korp-frontend-prod -d '{
curl -X POST https://deploy.altlab.dev/korp-frontend-prod --fail -d '{
"secret": "${{ secrets.DEPLOY_ALTLAB_PROD }}" }' -H 'Content-Type:
application/json'

0 comments on commit e0694ca

Please sign in to comment.