Skip to content
github hook auto execute shell tool - nodejs express
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
README.md
config.json
index.js
package.json
server.js

README.md

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

You can’t perform that action at this time.