From eb615a093ab404be96346ebbcacfce762630dc4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 16 May 2022 13:14:30 +0200 Subject: [PATCH] move into directory during latex build --- .drone.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 40d30e4..9b76432 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,13 +19,21 @@ steps: - sh build-pandoc.sh latex user > user/user-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 commands: - echo "images" - ls user/img - - latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user/user-manual.tex - - latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin/admin-manual.tex + - cd user + - 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 image: plugins/gitea-release @@ -42,6 +50,6 @@ steps: prerelease: true --- kind: signature -hmac: 70a44952b5e63744a6f58fd4e203afff1a9c0f6e48c44e9a36a0049fe7d1b634 +hmac: 59ad9421aa8e5b46b7402a1ea641c0a3497221b84e1b6e808e4500cc2c65f487 ...