Skip to content

github hook auto execute shell tool - nodejs express

Notifications You must be signed in to change notification settings

k55k32/githook-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

githook-express

Quick Start

hook.config

{
  "https://github.com/yourpoject-url": {
    "secret": "this-is-your-own-secret-you-setting-on-github",
    "events": {
      "push": "when-push-to-execute.sh"
    }
  } // ...
}

Run commond

node index.js start 9000 /root/hook.config 9000 is a port.You can setting whatever you want /root/hook.confg just the config file

and then set your github webhook payload url to http://xxx.xx.xx/github/webhook

Releases

No releases published

Packages

No packages published