This commit is contained in:
parent
506076f5a4
commit
aac17e07fb
@ -50,7 +50,7 @@ steps:
|
||||
from_secret: token
|
||||
commands:
|
||||
- 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
|
||||
|
||||
- name: Remove current on failure
|
||||
@ -59,7 +59,7 @@ steps:
|
||||
from_secret: token
|
||||
commands:
|
||||
- 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:
|
||||
status:
|
||||
- failure
|
||||
|
Reference in New Issue
Block a user