Re:Simple deployment with git
by elclanrs on Friday September 20, 2013 @05:53PM
(#6420745)
You can avoid pulling the repo everytime if you create a hook. In Ubuntu real quick, with default LAMP stack:
Whenever you push it'll checkout the dev branch in your public web folder. Now, that's instant deployment!
[ Parent
| on HN ]
This is quite beneficial if you want all of your pushes deployed instantly (as is the case in the post).
This was just a little post using pull as the simplest example possible. It's a part of a toy project I'm working on and I didn't want to go in too deep...