A very basic deployment solution using github webhooks
cp default.yml local.yml
server:
path: /
port: 7777
github:
webhook_secret: test
deployment_scripts:
example: ./example.sh
boo-deploy: echo "Hello, world!"
Add a release webhook event to your repos (example/boo-deploy in example) posting your domain/path/port as configured. Important: Be sure to set the webhook secret, as this is the only measure of security in triggering boo-deploy.
node deploy.js
All that's left is to create a release! When we next release boo-deploy, we'll echo "Hello, world!".
- github-webhook-handler for handling http/webhooks
- node-config for the cute configuration system