尝试自动更新开发服务器

This commit is contained in:
caoqianming 2022-02-25 09:27:22 +08:00
parent e0b14846f0
commit 5dd7089dae
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class UpdateDevelop(APIView):
import os
# 更新后端
os.chdir('/home/lighthouse/hberp')
ret = os.popen('git pull https://caoqianming%40foxmail.com:9093qqww@e.coding.net/ctcdevteam/hberp/hberp.git develop')
ret = os.popen('bash server_reload.sh')
# 奇怪的处理
# os.chdir('/home/hberp/hb_server/vuedist')
# os.popen('cp index.html indexbak')