Git- Automatic pull on production server?

ian

Ian

Posted on August 27, 2019

Git- Automatic pull on production server?

Hi,

I'm hosting my own Gitea server on which I have most of my web projects stored.

After pushing changes to a repo, I always have to connect to my shared hosting server on which I cloned the repo and run "git pull".

I know I could setup a cronjob to run this command every few minutes, but is there a better solution, which would allow an instant deployment?

Thanks!

💖 💪 🙅 🚩
ian
Ian

Posted on August 27, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related