fix drone ci
This commit is contained in:
parent
61fb8a8f66
commit
8dbc9aa196
@ -5,12 +5,15 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: pandoc
|
||||
image: pandoc:2.14
|
||||
commands: ./build-pandoc latex > user-manual.tex
|
||||
image: pandoc/alpine:2.14
|
||||
commands:
|
||||
- ls
|
||||
- sh build-pandoc.sh latex > user-manual.tex
|
||||
|
||||
- name: build-latex
|
||||
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
|
||||
image: plugins/gitea-release
|
||||
|
@ -1,12 +1,12 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# enter the current directory
|
||||
cd "$(dirname $0)"
|
||||
export PANDOC_DIR=pandoc/cl
|
||||
|
||||
files=(
|
||||
export files="
|
||||
src/parcours.md
|
||||
)
|
||||
"
|
||||
|
||||
if [ -z $1 ]; then
|
||||
export target=pdf
|
||||
|
Loading…
Reference in New Issue
Block a user