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: