push release only on event
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Julien Fastré 2022-05-16 15:01:18 +02:00
parent fdc39aa831
commit c134c8f338
1 changed files with 5 additions and 10 deletions

View File

@ -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