node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »


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


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:

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