Forums

How to reload my webapp automatically with git

I have pushed my app into GitHub. In python anywhere I normally pull the GitHub repo and reload the page whenever I update my repo. This is really repetitive work. I need to log into my python anywhere account, then pull and reload the page. Can there be an easier option to streamline this? I checked the Pythonanywhere APIs but did not find any useful ones. Also, I checked the SSH, but I am getting a password error although I am giving the correct password, is it because I have 2 factors authentication enabled?

Take a look at https://blog.pythonanywhere.com/191/