Skip to content
forked from A21z/node-cd

Featherweight node.js Continuous Deployment

Notifications You must be signed in to change notification settings

vgoloviznin/node-cd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-cd

Featherweight Github/Bitbucket Continuous Deployment

Continuously deploy any code from Github to your server.

node-cd is a simple node.js app handling Github's and Bitbucket's post-receive hooks.
It can execute any script you want on your server: deployment, testing, etc.

Installation

git clone https://github.com/A21z/node-cd.git
cd node-cd/src
npm install

Usage

  • cp node-cd.template.sh node-cd.sh
  • Edit the node-cd.sh file to execute whatever you like after your commits (ex: stop server, git pull, start server)
  • For GitHub: Set your post-receive hook as described here with the url http://yourserver.com:61440/github
  • For Bitbucket: Set your post-receive hook as described here with the url http://yourserver.com:61440/bitbucket
  • Run the app WWW_PORT=61440 node node-cd.js

About

Featherweight node.js Continuous Deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.1%
  • Shell 9.9%