Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

VMatrixTeam/GitlabWebhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitlabWebhook

Express MiddleWare for gitlab webhook.

Install

npm install GitlabWebhook

Requirement

Node 6.6.x

Usage

const express = require('express');
const http = require('http');
const webhook = require('gitlab-webhook');

const app = express();
 
app.use(express.bodyParser());
app.use(express.methodOverride());
app.gitlab('/123-gitlab-hook', {
  exec: 'jake deploy',
  token: 'CA572F1C-7BEB-467E-B26F-8999AB09CD4C',
  branches: '*'
});

http.createServer(app).listen(3000);

About

Package for gitlab webhook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published