forked from github.com/GenderDysphoria.fyi
Try to fix ci again
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user