uh oh. It seems it didn't delete the right folder...
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adsooi 2021-08-09 01:24:49 +02:00
parent 8b1d67d75d
commit d56a22e8f2
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -42,8 +42,10 @@ steps:
envs:
- DEV_WWW_PATH
script:
- pwd
- echo $DEV_WWW_PATH
- cd "$DEV_WWW_PATH"
- rm -rf *
#- rm -rf *
when:
event: [ push, tag ]
branch: [ main ]
@ -82,9 +84,9 @@ steps:
password:
from_secret: SSH_PASSWORD
envs:
- DEV_WWW_PATH
- PROD_WWW_PATH
script:
- cd "$DEV_WWW_PATH"
- cd "$PROD_WWW_PATH"
- rm -rf *
when:
event: [ push, tag ]