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

This commit is contained in:
孟凡懂 2022-06-29 12:55:58 +08:00
parent a0dbd35f2d
commit 737fd6a54c

View File

@ -26,15 +26,12 @@ steps:
- name: "Clone 代码"
commands:
- echo "Clone 代码"
- cd /www/wwwroot/car.des8.com
- pwd && ls -l
- git pull origin master
- name: "设置Env配置"
commands:
- echo "设置Env配置"
- echo /www/wwwroot/car.des8.com
- cd /www/wwwroot/car.des8.com
- echo "[app]" > .env
- echo "debug = false" >> .env
@ -51,20 +48,14 @@ steps:
- name: "更改文件权限"
commands:
- echo "更改文件权限"
- cd /www/wwwroot/car.des8.com
- rm -rf ./cache
- rm -rf ./temp
- rm -rf ./public/.user.ini
- chown -R www:www ./
- echo "open_basedir=/www/wwwroot/car.des8.com/:/tmp/" > ./public/.user.ini
- pwd && ls -l
- name: "清除缓存"
commands:
- echo "清除缓存"
- cd /www/wwwroot/car.des8.com/runtime
- rm -rf ./cache
- rm -rf ./temp
- pwd && ls -l
trigger:
branch: