fix drone ci
This commit is contained in:
parent
61fb8a8f66
commit
8dbc9aa196
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user