manuals/.drone.yml

45 lines
1020 B
YAML
Raw Normal View History

---
kind: pipeline
type: docker
2022-05-16 09:22:05 +00:00
name: build-release
steps:
- name: submodules
image: alpine/git
commands:
- git submodule init
- git submodule update --recursive --remote
- name: pandoc
2022-05-16 09:25:44 +00:00
image: pandoc/core:2.14-alpine
commands:
2021-08-25 15:46:54 +00:00
- sh build-pandoc.sh latex user > user-manual.tex
2022-05-16 09:29:02 +00:00
- sh build-pandoc.sh latex admin > admin-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
2022-05-16 09:29:02 +00:00
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-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
2021-08-25 15:46:54 +00:00
- admin-manual.pdf
checksum:
- sha512
2022-05-16 09:27:13 +00:00
title: ${DRONE_TAG:=latest}
prerelease: true
2022-05-16 09:22:05 +00:00
---
kind: signature
2022-05-16 09:29:02 +00:00
hmac: 266046bb784be1e63788e1ebd4761d90bb9d61ac2466e78cb1f0bd5802314f84
2022-05-16 09:22:05 +00:00
...