added readme

main
erreur401 2 years ago
parent 6ea003b1d0
commit fd1b5e5015
  1. 4
      app.py

@ -123,8 +123,8 @@ def webhook():
return "Unauthorized", 401
# Perform Git pull to update the website's code
repo_path = "/path/to/your/website/repo" # Replace with the actual path
subprocess.run(['git', 'pull'], cwd=repo_path)
#repo_path = "/path/to/your/website/repo" # Replace with the actual path
#subprocess.run(['git', 'pull'], cwd=repo_path)
# Restart the Flask app
#restart_flask_app()

Loading…
Cancel
Save