git command change

o2switch
erreur401 2 years ago
parent ec582a17fb
commit ef2b714e7e
  1. 2
      app.py

@ -116,7 +116,7 @@ def search():
def webhook(): def webhook():
if request.method == 'POST': if request.method == 'POST':
repo_path = "http://git.tdtdt.net:3003/zvevqx/tdtdt.git" # Replace with the actual path repo_path = "http://git.tdtdt.net:3003/zvevqx/tdtdt.git" # Replace with the actual path
subprocess.run(['git', 'pull', repo_path]) subprocess.run(['git', 'pull'])
return "Webhook received!" return "Webhook received!"

Loading…
Cancel
Save