This commit is contained in:
@@ -27,14 +27,14 @@ jobs:
|
||||
- name: build presentation
|
||||
working-directory: ./presentation
|
||||
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 .
|
||||
- name: upload to pages
|
||||
run: |
|
||||
curl https://pages.ct.cozytren.ch |
|
||||
-X PUT |
|
||||
-T ./presentation.zip |
|
||||
-H "Content-Type: application/zip" |
|
||||
-X PUT \
|
||||
-T ./presentation.zip \
|
||||
-H "Content-Type: application/zip" \
|
||||
-H "Authorization: Pages ${{ secrets.GIT_PAGES_TOKEN }}"
|
||||
- name: upload presentation folder
|
||||
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user