https://github.com/node-ci/nci-github-webhook
github webhook plugin for nci https://github.com/node-ci/nci
https://github.com/node-ci/nci-github-webhook
Last synced: 11 months ago
JSON representation
github webhook plugin for nci https://github.com/node-ci/nci
- Host: GitHub
- URL: https://github.com/node-ci/nci-github-webhook
- Owner: node-ci
- License: mit
- Created: 2016-04-15T19:43:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-20T20:29:35.000Z (about 9 years ago)
- Last Synced: 2025-01-23T17:44:06.685Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nci-github-webhook
github webhook plugin for [nci](https://github.com/node-ci/nci)
## Dependencies
[nci-express](https://github.com/fleg/nci-express)
## Installation
```sh
npm install nci-github-webhook
```
## Usage
Add this plugin to the `plugins` section at server config
```yml
plugins:
- nci-github-webhook
```
after that you can set github webhook at project config
```yml
webhooks:
github:
secret: '123456'
```
plugin will listen `POST /webhooks/:projectName/github/123456` route.
## License
[The MIT License](https://raw.githubusercontent.com/fleg/nci-github-webhook/master/LICENSE)