Skip to content

moonagic/GoWebhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoWebhooks

一个使用Go编写的Github webhook接收处理服务.
Go Report Card
用Golang重写Github webhook后台服务

配置范例

# vi /etc/gowebhook/config.yml
host: 127.0.0.1
port: 6606

servers:
  - identifier: dsijubhdfgbgfdnghf2
    secret: oHryZnDM8gXHfpqj
    script: /etc/gowebhook/auto_build.sh
    requestUrl: /auto_build
  - identifier: dsijubhdfgbgfdnghf
    secret: oHryZnDM8gXHfpqj1
    script: /etc/gowebhook/auto_build.sh
    requestUrl: /auto_build

简单的systemd启动服务

[Unit]
Description=gowebhook service
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/gowebhook

[Install]
WantedBy=multi-user.target

About

github webhook service written by go.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published