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