Fail pipeline when deployment trigger fails #28

Merged
TheAssassin merged 1 commit from fail-on-trigger-fail into main 2024-12-03 23:54:58 +01:00

View file

@ -51,4 +51,4 @@ jobs:
UPDATE_URL: ${{ secrets.UPDATE_URL }}
UPDATE_TOKEN: ${{ secrets.UPDATE_TOKEN }}
run: |
curl "$UPDATE_URL" -H "Authorization: Bearer ${UPDATE_TOKEN}"
curl --fail-with-body "$UPDATE_URL" -H "Authorization: Bearer ${UPDATE_TOKEN}"