github-webhook

command module
v0.0.0-...-9717629 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 4 Imported by: 0

README

github-webhook

Implement a basic webhook in go that listens for new issues added to this repo

build & run container

docker build --tag github-webhook-image .
docker run --name github-webhook -p 8080:8080 -d github-webhook-image

clean up

docker rm -f github-webhook
docker rmi github-webhook-image

add to nginx conf

vi /etc/nginx/nginx.conf (add)

        location /postreceive {
            proxy_pass http://localhost:8080;
        }

sudo service nginx stop
sudo service nginx start

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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