make curl fail on non 200
Build marp presentation / build marp presentation (push) Successful in 28s
Build marp presentation / build marp presentation (push) Successful in 28s
This commit is contained in:
@@ -31,8 +31,8 @@ jobs:
|
||||
zip -r ../presentation.zip .
|
||||
- name: upload to pages
|
||||
run: |
|
||||
curl https://pages.ct.cozytren.ch \
|
||||
-X PUT \
|
||||
curl -X PUT --fail \
|
||||
https://pages.ct.cozytren.ch \
|
||||
-T ./presentation.zip \
|
||||
-H "Content-Type: application/zip" \
|
||||
-H "Authorization: Pages ${{ secrets.GIT_PAGES_TOKEN }}"
|
||||
|
||||
Reference in New Issue
Block a user