utils develop
This commit is contained in:
parent
d2fb2ffd55
commit
5601834a33
|
@ -62,9 +62,9 @@ class UpdateDevelop(APIView):
|
|||
import os
|
||||
# 更新后端
|
||||
os.chdir('/home/hberp')
|
||||
os.system('git pull https://caoqianming%40ctc.ac.cn:9093qqww@e.coding.net/ctcdevteam/hberp/hberp.git')
|
||||
ret = os.popen('git pull https://caoqianming%40ctc.ac.cn:9093qqww@e.coding.net/ctcdevteam/hberp/hberp.git')
|
||||
# 打包前端
|
||||
# os.chdir('/home/hberp/hb_client')
|
||||
# os.system('npm run build:prod')
|
||||
# os.system('\cp -rf /home/hberp/hb_client/dist/* /home/hberp/hb_server/vuedist')
|
||||
return Response()
|
||||
return Response(ret.read())
|
||||
|
|
Loading…
Reference in New Issue