A really simple continuous deployment (continuous integration) server.
How to use RSCDS
Install nodeJS on your linux server
Copy and modify this script to match your site configuration and domain(s)
- Specifically, edit the site_key to match the site_key you've specified in the github post recieve hook url, and
- edit the siteMap in the node server script to map to that site key and repo branches that you want to setup for continuous deployment.
Add a post recieve hook to your github repo and point it to your node server URL. The webhook URL must be like
where, wwwstage is a site defined in your siteMap.
- Start the node server
Ideally, you want to configure the node server to un as a daemon.