test
Build marp presentation / build marp presentation (push) Has been cancelled

This commit is contained in:
Romane
2026-05-06 11:26:14 +02:00
parent a5de9b3462
commit 8394086fa5
+5 -5
View File
@@ -27,17 +27,17 @@ jobs:
- name: build presentation - name: build presentation
working-directory: ./presentation working-directory: ./presentation
run: | run: |
npx @marp-team/marp-cli@latest presentation.md -o index.html && | npx @marp-team/marp-cli@latest presentation.md -o index.html && \
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 https://pages.ct.cozytren.ch |
-X PUT | -X PUT \
-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 }}"
- name: upload presentation folder - name: upload presentation folder
uses: https://gitea.com/actions/gitea-upload-artifact@v4 uses: https://gitea.com/actions/gitea-upload-artifact@v4
with: with:
name: presentation name: presentation
path: presentation.zip path: presentation.zip