Fail pipeline when deployment trigger fails
This commit is contained in:
parent
47b51f5813
commit
0b70f793db
1 changed files with 1 additions and 1 deletions
|
@ -51,4 +51,4 @@ jobs:
|
||||||
UPDATE_URL: ${{ secrets.UPDATE_URL }}
|
UPDATE_URL: ${{ secrets.UPDATE_URL }}
|
||||||
UPDATE_TOKEN: ${{ secrets.UPDATE_TOKEN }}
|
UPDATE_TOKEN: ${{ secrets.UPDATE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
curl "$UPDATE_URL" -H "Authorization: Bearer ${UPDATE_TOKEN}"
|
curl --fail-with-body "$UPDATE_URL" -H "Authorization: Bearer ${UPDATE_TOKEN}"
|
||||||
|
|
Loading…
Reference in a new issue