修改自动更新功能

This commit is contained in:
caoqianming 2021-12-09 14:05:01 +08:00
parent 9c287399b7
commit fea32171f9
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class UpdateDevelop(APIView):
import os import os
# 更新后端 # 更新后端
os.chdir('/home/hberp') os.chdir('/home/hberp')
ret = os.popen('git pull https://caoqianming%40ctc.ac.cn:9093qqww@e.coding.net/ctcdevteam/hberp/hberp.git develop') ret = os.popen('git pull https://caoqianming%40foxmail.com:9093qqww@e.coding.net/ctcdevteam/hberp/hberp.git develop')
# 打包前端 # 打包前端
# os.chdir('/home/hberp/hb_client') # os.chdir('/home/hberp/hb_client')
# os.system('npm run build:prod') # os.system('npm run build:prod')