From 27843844fa9091c85b0e1dda502b1edb8332df28 Mon Sep 17 00:00:00 2001 From: Romane <122701716+rom-vtn@users.noreply.github.com> Date: Wed, 6 May 2026 18:06:12 +0200 Subject: [PATCH] try chrome rendering --- .gitea/workflows/build.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6a1cac2..c94e0a9 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,26 +10,26 @@ jobs: id: restore-cache uses: actions/cache@v3 with: - path: /root/ - key: installation-cache + path: /opt/acttoolcache/ + key: marp-installation - name: checkout uses: actions/checkout@v4 - name: install marp toolchain if: steps.restore-cache.outputs.cache-hit != 'true' run: | - npx @marp-team/marp-cli@latest && \ - npx playwright install --with-deps chromium + npm i -g -y @marp-team/marp-cli@latest playwright && \ + playwright install --with-deps chrome - name: cache marp installation if: steps.restore-cache.outputs.cache-hit != 'true' uses: actions/cache/save@v3 with: - path: /root/ - key: installation-cache + path: /opt/acttoolcache + key: marp-installation - name: build presentation working-directory: ./presentation run: | - npx @marp-team/marp-cli@latest presentation.md --html -o index.html --theme-set ./themes -- && \ - npx @marp-team/marp-cli@latest presentation.md --html -o presentation.pdf --theme-set ./themes -- && \ + marp presentation.md --html -o index.html --theme-set ./themes -- && \ + marp presentation.md --html --browser chrome --allow-local-files -o presentation.pdf --theme-set ./themes -- && \ zip -r ../presentation.zip . - name: upload to pages run: |