/nci-gogs-webhook

gogs webhook plugin for nci https://github.com/node-ci/nci

Primary LanguageJavaScriptMIT LicenseMIT

nci-gogs-webhook

gogs webhook plugin for nci

Dependencies

nci-express

Installation

npm install nci-gogs-webhook

Usage

Add this plugin to the plugins section at server config

plugins:
    - nci-gogs-webhook

after that you can set gogs webhook at project config

webhooks:
    gogs:
        secret: '123456'

plugin will listen POST /webhooks/:projectName/gogs/123456 route.

License

The MIT License