Add curl --fail

This commit is contained in:
Melon 2023-11-22 09:26:53 +00:00
parent 664d8df973
commit e4a2794b26
Signed by: melon
GPG Key ID: 6C9D970C50D26A25
1 changed files with 1 additions and 1 deletions

View File

@ -25,4 +25,4 @@ jobs:
run: tar -tzvf upload.tar.gz
- name: Release
run: 'curl -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.net/u?site=mrmelon54.com&branch=${{ github.ref_name }}"'
run: 'curl --fail -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.com/u?site=mrmelon54.com&branch=${{ github.ref_name }}"'