diff --git a/.drone.yml b/.drone.yml index b75017e..da55c1c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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