From a5de9b3462cecd1296507c43c257ba0039ba62ed Mon Sep 17 00:00:00 2001 From: Romane <122701716+rom-vtn@users.noreply.github.com> Date: Wed, 6 May 2026 11:15:45 +0200 Subject: [PATCH] test --- .gitea/workflows/build.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 37ae972..fd22463 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -27,9 +27,17 @@ 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" | + -H "Authorization: Pages ${{ secrets.GIT_PAGES_TOKEN }}" - name: upload presentation folder uses: https://gitea.com/actions/gitea-upload-artifact@v4 with: - name: presentation.zip - path: presentation/ + name: presentation + path: presentation.zip \ No newline at end of file