Skip to content

SSARCandy/node-deploy-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-deploy-script

Requires

  • git
  • node v4
  • pm2 (npm install -g pm2)
  • forever (npm install -g forever)

Setting up

  1. npm install
  2. start deployBot.js using forever, then done.

Trigger the deploy event

The default trigger url is http://yourdomain:3000/deploy/:appName/:branch

###for example:

  1. POST request send to http://yourdomain:3000/deploy/helloworld/master
  2. deployBot will go to helloworld repository, checkout to master branch
  3. then git pull to update code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors