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
|
- DEV_WWW_PATH
|
||||||
script:
|
script:
|
||||||
- export DEV_WWW_PATH=$DEV_WWW_PATH
|
- export DEV_WWW_PATH=$DEV_WWW_PATH
|
||||||
- pwd
|
|
||||||
- echo $DEV_WWW_PATH
|
|
||||||
- cd "$DEV_WWW_PATH"
|
- cd "$DEV_WWW_PATH"
|
||||||
- pwd
|
|
||||||
- rm -rf *
|
- rm -rf *
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
|
@ -81,6 +78,9 @@ steps:
|
||||||
|
|
||||||
- name: Remove old ad5001.eu
|
- name: Remove old ad5001.eu
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
environment:
|
||||||
|
PROD_WWW_PATH:
|
||||||
|
from_secret: PROD_WWW_PATH
|
||||||
settings:
|
settings:
|
||||||
host:
|
host:
|
||||||
from_secret: SSH_HOST
|
from_secret: SSH_HOST
|
||||||
|
@ -91,6 +91,7 @@ steps:
|
||||||
envs:
|
envs:
|
||||||
- PROD_WWW_PATH
|
- PROD_WWW_PATH
|
||||||
script:
|
script:
|
||||||
|
- export DEV_WWW_PATH=$DEV_WWW_PATH
|
||||||
- cd "$PROD_WWW_PATH"
|
- cd "$PROD_WWW_PATH"
|
||||||
- rm -rf *
|
- rm -rf *
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue