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:
|
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 ]
|
||||||
|
|
Loading…
Reference in a new issue