From aac17e07fb570b7feb842280bbb6f3262e410ad6 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Fri, 1 Dec 2023 18:11:08 +0000 Subject: [PATCH] Add drone --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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