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 .
|
zip -r ../presentation.zip .
|
||||||
- name: upload to pages
|
- name: upload to pages
|
||||||
run: |
|
run: |
|
||||||
curl https://pages.ct.cozytren.ch \
|
curl -X PUT --fail \
|
||||||
-X PUT \
|
https://pages.ct.cozytren.ch \
|
||||||
-T ./presentation.zip \
|
-T ./presentation.zip \
|
||||||
-H "Content-Type: application/zip" \
|
-H "Content-Type: application/zip" \
|
||||||
-H "Authorization: Pages ${{ secrets.GIT_PAGES_TOKEN }}"
|
-H "Authorization: Pages ${{ secrets.GIT_PAGES_TOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user