Add drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andre Henriques 2023-12-01 18:11:08 +00:00
parent 506076f5a4
commit aac17e07fb

View File

@ -50,7 +50,7 @@ steps:
from_secret: token from_secret: token
commands: commands:
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
- tea r rm -y current || echo "Release not found" - tea r rm -y latest || echo "Release not found"
- tea r c --title "Latest" --asset firstcw/cw/cw.pdf --asset secondcw/cw/cw2.pdf latest - tea r c --title "Latest" --asset firstcw/cw/cw.pdf --asset secondcw/cw/cw2.pdf latest
- name: Remove current on failure - name: Remove current on failure
@ -59,7 +59,7 @@ steps:
from_secret: token from_secret: token
commands: commands:
- tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN" - tea login add --url https://git.andr3h3nriqu3s.com --token "$TOKEN"
- tea r rm -y current || echo "Release not found" - tea r rm -y latest || echo "Release not found"
trigger: trigger:
status: status:
- failure - failure