execute pipeline on tag + save
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
This commit is contained in:
parent
9d8d356a92
commit
1d4fb63d46
19
.drone.yml
19
.drone.yml
@ -1,7 +1,11 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: build-release
|
||||
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
steps:
|
||||
|
||||
@ -10,24 +14,18 @@ steps:
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update --recursive --remote
|
||||
when:
|
||||
event: tag
|
||||
|
||||
- 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
|
||||
when:
|
||||
event: tag
|
||||
|
||||
- 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
|
||||
when:
|
||||
event: tag
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
@ -42,5 +40,8 @@ steps:
|
||||
- sha512
|
||||
title: ${DRONE_COMMIT_REF}
|
||||
prerelease: true
|
||||
when:
|
||||
event: tag
|
||||
---
|
||||
kind: signature
|
||||
hmac: 3bfa17ee6ad33613ca8e2fec573050a6d65d3b89e2a0c49f28dbb51b8461a427
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user