fix drone ci

This commit is contained in:
Julien Fastré 2021-07-26 17:52:23 +02:00
parent 61fb8a8f66
commit 8dbc9aa196
2 changed files with 9 additions and 6 deletions

View File

@ -5,12 +5,15 @@ name: default
steps: steps:
- name: pandoc - name: pandoc
image: pandoc:2.14 image: pandoc/alpine:2.14
commands: ./build-pandoc latex > user-manual.tex commands:
- ls
- sh build-pandoc.sh latex > user-manual.tex
- name: build-latex - name: build-latex
image: ghcr.io/xu-cheng/texlive-full:latest image: ghcr.io/xu-cheng/texlive-full:latest
commands: latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex commands:
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
- name: release - name: release
image: plugins/gitea-release image: plugins/gitea-release

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/sh
# enter the current directory # enter the current directory
cd "$(dirname $0)" cd "$(dirname $0)"
export PANDOC_DIR=pandoc/cl export PANDOC_DIR=pandoc/cl
files=( export files="
src/parcours.md src/parcours.md
) "
if [ -z $1 ]; then if [ -z $1 ]; then
export target=pdf export target=pdf