ci(deploy): curl fail with body
This commit is contained in:
@@ -43,7 +43,7 @@ jobs:
|
||||
run: tar -czC dist -f dist.tar.gz .
|
||||
- name: Upload to Stapler server
|
||||
run: |
|
||||
curl -s -X PUT --data-binary "@dist.tar.gz" \
|
||||
curl -s -X PUT --fail-with-body --data-binary "@dist.tar.gz" \
|
||||
-H 'X-Token: ${{ secrets.STAPLER_TOKEN }}' \
|
||||
${{ vars.STAPLER_CURL_ARGS }} \
|
||||
${{ vars.STAPLER_TARGET }}
|
||||
|
||||
Reference in New Issue
Block a user