CI test #9
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-03-31 10:43:18 +08:00
parent 5527e6aad7
commit 31c043d3e7

View File

@@ -69,6 +69,7 @@ steps:
environments:
DEPLOY_DIR:
from_secret: deploy_dir
GLOBIGNORE: .htaccess:.user.ini:public
settings:
host:
from_secret: production_server_addr
@@ -78,8 +79,9 @@ steps:
from_secret: eigeen_key
port: 22
script:
- cd $DEPLOY_DIR/www.eigeen.com
- rm -rf !\(.htaccess|.user.ini|public\)
- cd $DEPLOY_DIR
- rm -rf *
- unset GLOBIGNORE
- mv ./public/* ./
- rm -r public