尝试自动更新开发服务器
This commit is contained in:
parent
e0b14846f0
commit
5dd7089dae
|
@ -79,7 +79,7 @@ class UpdateDevelop(APIView):
|
||||||
import os
|
import os
|
||||||
# 更新后端
|
# 更新后端
|
||||||
os.chdir('/home/lighthouse/hberp')
|
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.chdir('/home/hberp/hb_server/vuedist')
|
||||||
# os.popen('cp index.html indexbak')
|
# os.popen('cp index.html indexbak')
|
||||||
|
|
Loading…
Reference in New Issue