diff options
author | Daniil Baturin <daniil@baturin.org> | 2022-08-11 16:54:09 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2022-08-11 17:30:55 +0100 |
commit | 4675abe6c47f69f05441db596a79cbada1137135 (patch) | |
tree | affe7c884ed73cb588460739e397ac1deabc1067 /.github | |
parent | 30eec393bacc165b6c51c658fb9f95a7711a2f2c (diff) | |
download | community.vyos.net-4675abe6c47f69f05441db596a79cbada1137135.tar.gz community.vyos.net-4675abe6c47f69f05441db596a79cbada1137135.zip |
Add curl options to fail on upload errors
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 309623e..1b147a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,4 +60,4 @@ jobs: NETLIFY_SITE_NAME: ${{ secrets.NETLIFY_SITE_NAME }} run: | zip -r website.zip build/ - curl -H "Content-Type: application/zip" -H "Authorization: Bearer $NETLIFY_TOKEN" --data-binary "@website.zip" https://api.netlify.com/api/v1/sites/$NETLIFY_SITE_NAME/deploys + curl --show-error --fail -H "Content-Type: application/zip" -H "Authorization: Bearer $NETLIFY_TOKEN" --data-binary "@website.zip" https://api.netlify.com/api/v1/sites/$NETLIFY_SITE_NAME/deploys |