mirror of
https://github.com/1f349/mail.1f349.com.git
synced 2024-11-13 23:21:40 +00:00
Add curl --fail
This commit is contained in:
parent
a68afece19
commit
6a77b200e0
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -22,4 +22,4 @@ jobs:
|
|||||||
run: tar -czvf upload.tar.gz -C ./dist .
|
run: tar -czvf upload.tar.gz -C ./dist .
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
run: 'curl -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.com/u?site=mail.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=mail.1f349.com&branch=${{ github.ref_name }}"'
|
||||||
|
Loading…
Reference in New Issue
Block a user