make curl fail on non 200
Build marp presentation / build marp presentation (push) Successful in 28s

This commit is contained in:
Romane
2026-05-06 12:37:59 +02:00
parent b666c3fac2
commit 611ca919e4
+2 -2
View File
@@ -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 }}"