This commit is contained in:
parent
a0dbd35f2d
commit
737fd6a54c
13
.drone.yml
13
.drone.yml
@ -26,15 +26,12 @@ steps:
|
|||||||
|
|
||||||
- name: "Clone 代码"
|
- name: "Clone 代码"
|
||||||
commands:
|
commands:
|
||||||
- echo "Clone 代码"
|
|
||||||
- cd /www/wwwroot/car.des8.com
|
- cd /www/wwwroot/car.des8.com
|
||||||
- pwd && ls -l
|
- pwd && ls -l
|
||||||
- git pull origin master
|
- git pull origin master
|
||||||
|
|
||||||
- name: "设置Env配置"
|
- name: "设置Env配置"
|
||||||
commands:
|
commands:
|
||||||
- echo "设置Env配置"
|
|
||||||
- echo /www/wwwroot/car.des8.com
|
|
||||||
- cd /www/wwwroot/car.des8.com
|
- cd /www/wwwroot/car.des8.com
|
||||||
- echo "[app]" > .env
|
- echo "[app]" > .env
|
||||||
- echo "debug = false" >> .env
|
- echo "debug = false" >> .env
|
||||||
@ -51,20 +48,14 @@ steps:
|
|||||||
|
|
||||||
- name: "更改文件权限"
|
- name: "更改文件权限"
|
||||||
commands:
|
commands:
|
||||||
- echo "更改文件权限"
|
|
||||||
- cd /www/wwwroot/car.des8.com
|
- cd /www/wwwroot/car.des8.com
|
||||||
|
- rm -rf ./cache
|
||||||
|
- rm -rf ./temp
|
||||||
- rm -rf ./public/.user.ini
|
- rm -rf ./public/.user.ini
|
||||||
- chown -R www:www ./
|
- chown -R www:www ./
|
||||||
- echo "open_basedir=/www/wwwroot/car.des8.com/:/tmp/" > ./public/.user.ini
|
- echo "open_basedir=/www/wwwroot/car.des8.com/:/tmp/" > ./public/.user.ini
|
||||||
- pwd && ls -l
|
- pwd && ls -l
|
||||||
|
|
||||||
- name: "清除缓存"
|
|
||||||
commands:
|
|
||||||
- echo "清除缓存"
|
|
||||||
- cd /www/wwwroot/car.des8.com/runtime
|
|
||||||
- rm -rf ./cache
|
|
||||||
- rm -rf ./temp
|
|
||||||
- pwd && ls -l
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
Loading…
Reference in New Issue
Block a user