From 83f116321b6f9945794d94f5f0ef07304fe9ac74 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 12:40:23 +0800 Subject: [PATCH] sddddd --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 34cdeaa..3b51b01 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,11 +38,11 @@ steps: - export MYSQLUSER=car_des8_com - export MYSQLPASSWD=eSfcCeDH76zC3MLG - export MYSQLPORT=3306 - - export GIT_NAME=$GIT_NAME + - export GIT_NAME=GIT_NAME - export GIT_PASSWD=$GIT_PASSWD - - echo $GIT_NAME + - echo GIT_NAME - env - - cd $WEBROOT + - cd /www/wwwroot/car.des8.com - git remote rm origin - git remote add origin http://$GIT_NAME:$GIT_PASSWD@git.des8.com/heibai2006/car4s.git @@ -50,7 +50,7 @@ steps: commands: - export WEBROOT=$WEBROOT - echo "Clone 代码" - - cd $WEBROOT + - cd /www/wwwroot/car.des8.com - pwd && ls -l - git pull origin master @@ -58,7 +58,7 @@ steps: commands: - echo "设置Env配置" - echo $WEBROOT - - cd $WEBROOT + - cd /www/wwwroot/car.des8.com - echo "[app]" > .env - echo "debug = false" >> .env - echo "trace = false" >> .env @@ -76,7 +76,7 @@ steps: commands: - echo "更改文件权限" - rm -rf ./public/.user.ini - - cd $WEBROOT + - cd /www/wwwroot/car.des8.com - chown -R www:www ./ - echo "open_basedir=$WEBROOT/:/tmp/" > ./public/.user.ini - pwd && ls -l @@ -84,7 +84,7 @@ steps: - name: "清除缓存" commands: - echo "清除缓存" - - cd $WEBROOT/runtime + - cd /www/wwwroot/car.des8.com/runtime - rm -rf ./cache - rm -rf ./temp - pwd && ls -l