diff --git a/.drone.yml b/.drone.yml index b6b4304..158274e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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