27 lines
579 B
YAML
27 lines
579 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: pandoc
|
||
|
image: pandoc:2.14
|
||
|
commands: ./build-pandoc 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
|
||
|
|
||
|
- name: release
|
||
|
image: plugins/gitea-release
|
||
|
settings:
|
||
|
api_key:
|
||
|
from_secret: gitea_key
|
||
|
base_url: https://gitea.champs-libres.be
|
||
|
files:
|
||
|
- user-manual.pdf
|
||
|
checksum:
|
||
|
- sha512
|
||
|
title: ${DRONE_REPO_BRANCH}
|
||
|
prerelease: true
|