ck 4 лет назад
Родитель
Сommit
9de663fa35
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      handlers/GitHookHandler.py

+ 1 - 1
handlers/GitHookHandler.py

@@ -6,7 +6,7 @@ from model import DingTalkUtils
 class DataCenerHook(BaseHandler):
 
     def post(self):
-        val= os.popen('cd /home/qc/DataCenter && git pull')
+        val= os.popen('cd /root/DataCenter && git pull')
         self.write('ok')
         DingTalkUtils.send('DataCenter代码更新:\n '+val.read())