Automatic App Deployment with "git push"
Automatic App Deployment with “git push”
When deploying pet projects on remote servers, I dislike the extra step of logging into the remote machine to execute a git pull
(and perhaps a server reload) every time I push new code. Sure there’s Jenkins and all sorts of bazooka-like solutions, but this is a knife fight. Poking around an old PHP repo, I found a nifty line of code that will update your app via a URL endpoint.