From 6a77b200e0377a27f13bc8f9b752eff4b7c18a31 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Wed, 22 Nov 2023 09:24:17 +0000 Subject: [PATCH] Add curl --fail --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa5fdb6..9522778 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,4 +22,4 @@ jobs: run: tar -czvf upload.tar.gz -C ./dist . - 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 }}"'