uh oh. It seems it didn't delete the right folder...
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8b1d67d75d
commit
d56a22e8f2
1 changed files with 5 additions and 3 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue