fix(ci): Fail workflow if deploy fails
This commit is contained in:
parent
c9dfebb6a7
commit
85b7db835f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue