Everything posted by jonsjava
I had someone on a budget once (read: $10/month). My solution, while not elegant, worked. Ensure your code is in Git Configure the deploy user to have access to Git via SSH Clone the repo into the directory you wish to serve it out of Create a cron that runs ever x minutes/hours that will do the following: cd /path/to/your/code && git reset --hard && git pull origin master This solved their problem. There are better solutions (Jenkins, for example), but if you want simple, cron + git works.