git-webhook-receiver

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: GPL-3.0

README

git-webhook-receiver

git-webhook-receiver

About

The idea of this project is to handle notifications from the git service (webhook from Github/Gitlab/Bitbucket) and make another command to be executed on our server. I know there are some tools such as Jenkins, CircleCI, GitLab CI/CD and Drone that also handle this job and maybe they have multiple features that do not cover with git-webhook-receiver. but it's ok, I only need something free to use, simple binary to run (that why I write this project in Go), unify the flow, lightweight, self-host, and easily use json config to map what changes in whitelisted branches and the trigger action.

Installation

$ cp config.json.example config.json
$ echo 'you can adjust the json config as you want' && nano config.json
$ go run app/main/main.go

or if the binary is ready you can just do
$ ./git-webhook-receiver

remember that config file should be in the similar folder if you running this app

Other

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL