Fail pipeline when deployment trigger fails
All checks were successful
Build and publish Docker image / build (pull_request) Successful in 15s
Build and publish Docker image / build (push) Successful in 18s

This commit is contained in:
TheAssassin 2024-12-03 23:48:41 +01:00
parent 47b51f5813
commit 0b70f793db

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}"