This script serves to keep the directory your webserver is serving at the most recent commit to your repo.
At Grooveshark on the QA team, we use this to make available the most recent version of our app for testing.
-
Ensure you've got a working webserver going with support for PHP and Gearman
-
Install and configure GIT
-
CHOWN the files in your repo to your webserver user
-
Place your endpoint someplace accessible on the internet