From 85b7db835f8d992e18c426ab200519cf271d7fda Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Tue, 5 Jul 2022 10:55:00 +0100 Subject: [PATCH] fix(ci): Fail workflow if deploy fails --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 098548f..d59df53 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: commands: - apk add curl ca-certificates zip - cd dist && zip -r ../deploy.zip * && cd .. - - 'curl -F file=@deploy.zip -H "Authorization: $DEPLOY_TOKEN" https://projects.ashhhleyyy.dev/chss' + - 'curl --fail -F file=@deploy.zip -H "Authorization: $DEPLOY_TOKEN" https://projects.ashhhleyyy.dev/chss' environment: DEPLOY_TOKEN: from_secret: deploy_token