From edb39104a6421815bd55886240d711c36d659dbd Mon Sep 17 00:00:00 2001 From: Mikula Lajos Date: Mon, 16 Nov 2026 13:15:30 +0100 Subject: [PATCH] Fixed action1 --- .gitea/workflows/publish-presentation.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/publish-presentation.yml b/.gitea/workflows/publish-presentation.yml index 1a64db6..56bb902 100644 --- a/.gitea/workflows/publish-presentation.yml +++ b/.gitea/workflows/publish-presentation.yml @@ -2,8 +2,8 @@ name: Build and Publish Slides on: push: - tags: - - "v*" + branches: + - master workflow_dispatch: permissions: @@ -21,15 +21,20 @@ jobs: uses: actions/setup-node@v4 with: node-version: "22" + - name: Install Chromium dependencies + run: | + sudo apt-get update + sudo apt-get install -y chromium-browser - name: Build PDF and HTML + env: + CHROME_PATH: /usr/bin/chromium-browser run: | mkdir -p dist npx --yes @marp-team/marp-cli@latest \ --pdf slides.md -o dist/slides.pdf npx --yes @marp-team/marp-cli@latest \ --html slides.md -o dist/slides.html - - name: Create Gitea release id: release env: