Small node.js HTTP server
it allows you to deploy your repos into your server everytime you push a change.
- First of all install Node.js into your server
- Rename GitNoDeploy-config-example.json to GitNoDeploy-config.json and edit it.
- port: [Default: 2001]
- quiet: Set to false to mute the script
- repos: Array of your repos:
- url: url exactly where the script can find your repo
- path: path exactly where is your repo dir
- after: Array of commands to execute after updating
- On the github page go to a repository, then "Admin", "Webhooks & Services", "Webhooks/Manage" and add the url of your server + port (e.g. http://example:2001), after that select
application/vnd.github.v3+jsonpayload version and update webhooks.
Author: Domenico Leone Luciani
Copyright © 2014 Domenico Luciani firstname.lastname@example.org
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.