# webhook-go **Repository Path**: woytu/webhook-go ## Basic Information - **Project Name**: webhook-go - **Description**: 支持GitHub、Gitea、Gogs - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: https://github.com/woytu/webhook-go - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2020-03-26 - **Last Updated**: 2021-03-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webhook-go 支持GitHub、Gitea、Gogs ## Configuration > URL:http://127.0.0.1:8000/webHooks > 复制`data`目录中的`config.example.json`文件重命名为`config.json`并修改里面的值 ```json { "这里是仓库full_name的值": { "logfile": "test-gitea-webhook.log", "secret": "在Webhooks中设定的secret", "commands": [ "data/update_repo.sh" ] } } ``` ## 运行 ```bash # -h为地址(默认0.0.0.0),-p为端口(默认8000) ./webhook-go -h 127.0.0.1 -p 8000 ```