Skip to content

hanksudo/node-github-hook-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-github-hook-deploy

A demo to use github hook by NodeJS

Install dependency package

$ npm i

Progress

  1. Replace your repository url in app.js
  • Select "Settings" on your repository page

  • Select "Service Hooks"

  • Add hook url http://yourserver.com:3131/hook to your WebHook URLs

  • Modify hook.sh to execute anything you want to do after new commit comming.

  • Run app on your server

     $ node app.js &
    

About

Deploy production environment by Github hook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published