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: envs:
- DEV_WWW_PATH - DEV_WWW_PATH
script: script:
- pwd
- echo $DEV_WWW_PATH
- cd "$DEV_WWW_PATH" - cd "$DEV_WWW_PATH"
- rm -rf * #- rm -rf *
when: when:
event: [ push, tag ] event: [ push, tag ]
branch: [ main ] branch: [ main ]
@ -82,9 +84,9 @@ steps:
password: password:
from_secret: SSH_PASSWORD from_secret: SSH_PASSWORD
envs: envs:
- DEV_WWW_PATH - PROD_WWW_PATH
script: script:
- cd "$DEV_WWW_PATH" - cd "$PROD_WWW_PATH"
- rm -rf * - rm -rf *
when: when:
event: [ push, tag ] event: [ push, tag ]