尝试自动更新开发服务器
This commit is contained in:
parent
e0b14846f0
commit
5dd7089dae
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue