Add curl --fail

This commit is contained in:
Melon 2023-11-22 09:22:31 +00:00
parent 5c3fd49adf
commit f64a159b3d
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -19,4 +19,4 @@ jobs:
run: tar -czvf upload.tar.gz -C ./build .
- name: Release
run: 'curl -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.com/u?site=1f349.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=1f349.com&branch=${{ github.ref_name }}"'