Try to fix ci again
Some checks failed
Build and deploy website. / Build static site. (push) Failing after 2m21s
Build and deploy website. / Connect to deployment host, update, and redeploy docs website. (push) Has been skipped

This commit is contained in:
2025-09-10 20:34:16 -07:00
parent 9101248a5e
commit 5c7f947d96

View File

@@ -49,8 +49,7 @@ jobs:
- -
name: Install Chrome name: Install Chrome
run: | run: |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_arm64.deb sudo apt install chromium-browser
sudo apt install ./google-chrome-stable_current_arm64.deb
- -
name: Install node dependencies name: Install node dependencies
run: npm ci run: npm ci
@@ -71,56 +70,56 @@ jobs:
- -
name: (EN) Generate PDF from HTML name: (EN) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/en.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/en.pdf" \
http://127.0.0.1:8080/en/printable/index.html http://127.0.0.1:8080/en/printable/index.html
- -
name: (ZH) Generate PDF from HTML name: (ZH) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/zh.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/zh.pdf" \
http://127.0.0.1:8080/zh/printable/index.html http://127.0.0.1:8080/zh/printable/index.html
- -
name: (DE) Generate PDF from HTML name: (DE) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/de.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/de.pdf" \
http://127.0.0.1:8080/de/druckbar/index.html http://127.0.0.1:8080/de/druckbar/index.html
- -
name: (HU) Generate PDF from HTML name: (HU) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/hu.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/hu.pdf" \
http://127.0.0.1:8080/hu/nyomtathato/index.html http://127.0.0.1:8080/hu/nyomtathato/index.html
- -
name: (PL) Generate PDF from HTML name: (PL) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/pl.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/pl.pdf" \
http://127.0.0.1:8080/pl/do-druku/index.html http://127.0.0.1:8080/pl/do-druku/index.html
- -
name: (PT) Generate PDF from HTML name: (PT) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/pt.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/pt.pdf" \
http://127.0.0.1:8080/pt/imprimivel/index.html http://127.0.0.1:8080/pt/imprimivel/index.html
- -
name: (FR) Generate PDF from HTML name: (FR) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/fr.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/fr.pdf" \
http://127.0.0.1:8080/fr/a-imprimer/index.html http://127.0.0.1:8080/fr/a-imprimer/index.html
- -
name: (NL) Generate PDF from HTML name: (NL) Generate PDF from HTML
run: | run: |
google-chrome --headless --print-to-pdf-no-header \ chromium --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/nl.pdf" \ --run-all-compositor-stages-before-draw --print-to-pdf="${{ gitea.workspace }}/dist/nl.pdf" \
http://127.0.0.1:8080/nl/afdrukbaar/index.html http://127.0.0.1:8080/nl/afdrukbaar/index.html