Thanks to visit codestin.com
Credit goes to github.com

Skip to content

16Yongjin/nodejs-github-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-github-webhook

How to use

1. Specify port and secret key from index.js
const secret = 'amazingkey'
const port = 3001
2. Specify the git repository from hook.sh
#DIRECTORY TO THE REPOSITORY
REPOSITORY="./myrepository"
3. Run the server
$ npm start
4. Configure Webhook at Github repository Settings

Payload URL is http://ADDRESS:PORT/push
Enter the secret key that you have entered in index.js

About

Github Webhook server built with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.5%
  • Shell 7.5%