fail if curl fails

This commit is contained in:
Nikita Galaiko 2023-02-20 17:13:49 +01:00
parent bfe96c4c25
commit b7677ca75f
No known key found for this signature in database
GPG Key ID: EBAB54E845BA519D

View File

@ -75,6 +75,7 @@ jobs:
- name: Tell our server to update
run: |
curl 'https://app.gitbutler.com/api/releases' \
--fail \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: ${{ secrets.BOT_AUTH_TOKEN }}' \