Fixed action2
Build and Publish Slides / build-and-publish (push) Successful in 1m18s

This commit is contained in:
Mikula Lajos
2026-11-16 13:17:14 +01:00
parent edb39104a6
commit 0b24cdbe14
+8 -3
View File
@@ -21,18 +21,23 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: "22" node-version: "22"
- name: Install Chromium dependencies - name: Install Google Chrome
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y chromium-browser sudo apt-get install -y wget
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
-O /tmp/google-chrome.deb
sudo apt-get install -y /tmp/google-chrome.deb
- name: Build PDF and HTML - name: Build PDF and HTML
env: env:
CHROME_PATH: /usr/bin/chromium-browser CHROME_PATH: /usr/bin/google-chrome
run: | run: |
mkdir -p dist mkdir -p dist
npx --yes @marp-team/marp-cli@latest \ npx --yes @marp-team/marp-cli@latest \
--pdf slides.md -o dist/slides.pdf --pdf slides.md -o dist/slides.pdf
npx --yes @marp-team/marp-cli@latest \ npx --yes @marp-team/marp-cli@latest \
--html slides.md -o dist/slides.html --html slides.md -o dist/slides.html
- name: Create Gitea release - name: Create Gitea release