ck 4 năm trước cách đây
mục cha
commit
9de663fa35
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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())