restrict ci on tags
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
c39b0d98d9
commit
314aa4b989
10
.drone.yml
10
.drone.yml
@ -10,17 +10,23 @@ steps:
|
||||
commands:
|
||||
- git submodule init
|
||||
- git submodule update --recursive --remote
|
||||
when:
|
||||
event: tag
|
||||
|
||||
- name: pandoc
|
||||
image: pandoc/alpine:2.14
|
||||
commands:
|
||||
- ls
|
||||
- sh build-pandoc.sh latex > 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
|
||||
when:
|
||||
event: tag
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
@ -32,5 +38,7 @@ steps:
|
||||
- user-manual.pdf
|
||||
checksum:
|
||||
- sha512
|
||||
title: ${DRONE_REPO_BRANCH}
|
||||
title: ${DRONE_COMMIT_REF}
|
||||
prerelease: true
|
||||
when:
|
||||
event: tag
|
||||
|
Loading…
Reference in New Issue
Block a user