A simple hook receiver for github or gitlab
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
test
.gitignore
index.js
package.json
readme.md

readme.md

A simple hook receiver for git or github

Install dependencies

npm install

Start receiver with

node index.js -p <port>

Specify branch in the .json file in your config folder.

Create a hook in github or gitlab

Example:

http://192.168.1.145:8001/sample

For that example you need to take the sample.json if u create a hook_receiver.json u need to create a hook like this:

http://192.168.1.145:8001/hook_receiver

Edit sample.json with your commands and branch you want to have