Published Mar 22, 2012
I wrote a GitHub Post-Receive Deployment Hook to deploy applications to staging and production automatically.
Follow the instruction in the
README to setup your
You are on
master branch by default, and this is the development branch for all your commits and pushes.
Next you might want to have
stage branch for testing purposes.
$ git branch stage
$ git push origin stage
You have a
prod branch for the production site.
$ git branch prod
$ git push origin prod
I have updated a tutorial of my previous post Creating Zend Framework Project from Scratch to have branches and versions, and each of them are deployed to the following addresses:
We are trying to make developers life easier. Kindly fork this on GitHub and submit your pull requests to help us.