测试
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
孟凡懂 2022-06-29 11:48:56 +08:00
parent aae30527fc
commit fcc24f3a0d

View File

@ -36,9 +36,14 @@ steps:
- name: "Git 设置" - name: "Git 设置"
commands: commands:
- export WEBROOT=$WEBROOT - 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_NAME=$GIT_NAME
- export GIT_PASSWD=$GIT_PASSWD - export GIT_PASSWD=$GIT_PASSWD
- echo $WEBROOT - echo "$WEBROOT"
- cd $WEBROOT - cd $WEBROOT
- git remote rm origin - git remote rm origin
- git remote add origin http://$GIT_NAME:$GIT_PASSWD@git.des8.com/heibai2006/car4s.git - git remote add origin http://$GIT_NAME:$GIT_PASSWD@git.des8.com/heibai2006/car4s.git
@ -54,12 +59,6 @@ steps:
- name: "设置Env配置" - name: "设置Env配置"
commands: commands:
- echo "设置Env配置" - echo "设置Env配置"
- export WEBROOT=$WEBROOT
- export MYSQLHOST=$MYSQLHOST
- export MYSQLNAME=$MYSQLNAME
- export MYSQLUSER=$MYSQLUSER
- export MYSQLPASSWD=$MYSQLPASSWD
- export MYSQLPORT=$MYSQLPORT
- echo $WEBROOT - echo $WEBROOT
- cd $WEBROOT - cd $WEBROOT
- echo "[app]" > .env - echo "[app]" > .env
@ -77,7 +76,6 @@ steps:
- name: "更改文件权限" - name: "更改文件权限"
commands: commands:
- export WEBROOT=$WEBROOT
- echo "更改文件权限" - echo "更改文件权限"
- rm -rf ./public/.user.ini - rm -rf ./public/.user.ini
- cd $WEBROOT - cd $WEBROOT
@ -87,7 +85,6 @@ steps:
- name: "清除缓存" - name: "清除缓存"
commands: commands:
- export WEBROOT=$WEBROOT
- echo "清除缓存" - echo "清除缓存"
- cd $WEBROOT/runtime - cd $WEBROOT/runtime
- rm -rf ./cache - rm -rf ./cache