forked from Chill-project/manuals
push release only on event
This commit is contained in:
parent
fdc39aa831
commit
c134c8f338
15
.drone.yml
15
.drone.yml
@ -28,23 +28,16 @@ steps:
|
||||
- name: build-latex-user
|
||||
image: texlive/texlive
|
||||
commands:
|
||||
- echo "images"
|
||||
- ls user/img
|
||||
- echo $PWD
|
||||
- cd user
|
||||
- ls -lah img/
|
||||
- echo $PWD
|
||||
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex user-manual.tex
|
||||
- mv user-manual.pdf ../.
|
||||
|
||||
- name: build-latex-admin
|
||||
image: texlive/texlive
|
||||
commands:
|
||||
- echo "images"
|
||||
- ls user/img
|
||||
- echo $PWD
|
||||
- cd admin
|
||||
- echo $PWD
|
||||
- latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -xelatex admin-manual.tex
|
||||
- mv admin-manual.pdf ../.
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
@ -58,7 +51,9 @@ steps:
|
||||
checksum:
|
||||
- sha512
|
||||
title: ${DRONE_TAG:=latest}
|
||||
prerelease: true
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
---
|
||||
kind: signature
|
||||
hmac: 686b3bf2e6d8ffd370cfde19d9110b6c71af6e2dc4afc3c1b8d7a5016397ee3e
|
||||
|
Loading…
Reference in New Issue
Block a user