Finished fixing bugs for CI.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2021-08-09 01:45:02 +02:00
parent 418eb91fc3
commit 759368a87b
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -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: