Skip to content

lgothelipe/gitwebhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Webhook

GitHub Webhook NodeJS

HTTP endpoints (hooks) for use on local server, which you can use to execute configured commands.

Dependencies

  • Node JS
  • Express

Getting started

Installation

Prerequisites

  1. Make sure you've properly install NodeJs
  2. Create a Webhook in Settings -> Webhook and copy the secret

Change app.js GITHUB_BRANCHS_TO_SCRIPTS variable with branches and path of scripts. Rename .env.example to .env and replace the variables, paste the secret from the Webhook and then run

$ npm install
$ npm start_prod

to use nodemon:

$ npm install
$ npm start_local

About

GitHub Web Hook NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published