Finished fixing bugs for CI.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
418eb91fc3
commit
759368a87b
1 changed files with 4 additions and 3 deletions
|
@ -46,10 +46,7 @@ steps:
|
|||
- DEV_WWW_PATH
|
||||
script:
|
||||
- export DEV_WWW_PATH=$DEV_WWW_PATH
|
||||
- pwd
|
||||
- echo $DEV_WWW_PATH
|
||||
- cd "$DEV_WWW_PATH"
|
||||
- pwd
|
||||
- rm -rf *
|
||||
when:
|
||||
event: [ push, tag ]
|
||||
|
@ -81,6 +78,9 @@ steps:
|
|||
|
||||
- name: Remove old ad5001.eu
|
||||
image: appleboy/drone-ssh
|
||||
environment:
|
||||
PROD_WWW_PATH:
|
||||
from_secret: PROD_WWW_PATH
|
||||
settings:
|
||||
host:
|
||||
from_secret: SSH_HOST
|
||||
|
@ -91,6 +91,7 @@ steps:
|
|||
envs:
|
||||
- PROD_WWW_PATH
|
||||
script:
|
||||
- export DEV_WWW_PATH=$DEV_WWW_PATH
|
||||
- cd "$PROD_WWW_PATH"
|
||||
- rm -rf *
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue