move into directory during latex build

This commit is contained in:
Julien Fastré 2022-05-16 13:14:30 +02:00
parent b6b074d5c2
commit eb615a093a

View File

@ -19,13 +19,21 @@ steps:
- sh build-pandoc.sh latex user > user/user-manual.tex - sh build-pandoc.sh latex user > user/user-manual.tex
- sh build-pandoc.sh latex admin > admin/admin-manual.tex - sh build-pandoc.sh latex admin > admin/admin-manual.tex
- name: build-latex - name: build-latex-user
image: ghcr.io/xu-cheng/texlive-full:latest image: ghcr.io/xu-cheng/texlive-full:latest
commands: commands:
- echo "images" - echo "images"
- ls user/img - ls user/img
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user/user-manual.tex - cd user
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin/admin-manual.tex - latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
- name: build-latex-admin
image: ghcr.io/xu-cheng/texlive-full:latest
commands:
- echo "images"
- ls user/img
- cd admin
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-manual.tex
- name: release - name: release
image: plugins/gitea-release image: plugins/gitea-release
@ -42,6 +50,6 @@ steps:
prerelease: true prerelease: true
--- ---
kind: signature kind: signature
hmac: 70a44952b5e63744a6f58fd4e203afff1a9c0f6e48c44e9a36a0049fe7d1b634 hmac: 59ad9421aa8e5b46b7402a1ea641c0a3497221b84e1b6e808e4500cc2c65f487
... ...