An open API service indexing awesome lists of open source software.

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

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)