Julien Fastré
1d4fb63d46
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build-release
|
|
|
|
when:
|
|
event:
|
|
- tag
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
image: alpine/git
|
|
commands:
|
|
- git submodule init
|
|
- git submodule update --recursive --remote
|
|
|
|
- name: pandoc
|
|
image: pandoc/alpine:2.14
|
|
commands:
|
|
- sh build-pandoc.sh latex user > user-manual.tex
|
|
- sh build-pandoc.sh latex admin > 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
|
|
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex latex-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
|
|
- admin-manual.pdf
|
|
checksum:
|
|
- sha512
|
|
title: ${DRONE_COMMIT_REF}
|
|
prerelease: true
|
|
---
|
|
kind: signature
|
|
hmac: 3bfa17ee6ad33613ca8e2fec573050a6d65d3b89e2a0c49f28dbb51b8461a427
|
|
|
|
...
|