From 31c043d3e76b53a2b6c869cd066900b8fa8483d0 Mon Sep 17 00:00:00 2001 From: Eigeen Date: Thu, 31 Mar 2022 10:43:18 +0800 Subject: [PATCH] CI test #9 --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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