From fcc24f3a0dbcb0788021f6abc4058678040e2c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E5=87=A1=E6=87=82?= Date: Wed, 29 Jun 2022 11:48:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0f08183..4cf00a0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,9 +36,14 @@ steps: - name: "Git 设置" commands: - export WEBROOT=$WEBROOT + - export MYSQLHOST=$MYSQLHOST + - export MYSQLNAME=$MYSQLNAME + - export MYSQLUSER=$MYSQLUSER + - export MYSQLPASSWD=$MYSQLPASSWD + - export MYSQLPORT=$MYSQLPORT - export GIT_NAME=$GIT_NAME - export GIT_PASSWD=$GIT_PASSWD - - echo $WEBROOT + - echo "$WEBROOT" - cd $WEBROOT - git remote rm origin - git remote add origin http://$GIT_NAME:$GIT_PASSWD@git.des8.com/heibai2006/car4s.git @@ -54,12 +59,6 @@ steps: - name: "设置Env配置" commands: - echo "设置Env配置" - - export WEBROOT=$WEBROOT - - export MYSQLHOST=$MYSQLHOST - - export MYSQLNAME=$MYSQLNAME - - export MYSQLUSER=$MYSQLUSER - - export MYSQLPASSWD=$MYSQLPASSWD - - export MYSQLPORT=$MYSQLPORT - echo $WEBROOT - cd $WEBROOT - echo "[app]" > .env @@ -77,7 +76,6 @@ steps: - name: "更改文件权限" commands: - - export WEBROOT=$WEBROOT - echo "更改文件权限" - rm -rf ./public/.user.ini - cd $WEBROOT @@ -87,7 +85,6 @@ steps: - name: "清除缓存" commands: - - export WEBROOT=$WEBROOT - echo "清除缓存" - cd $WEBROOT/runtime - rm -rf ./cache