Gitlab
- push
- merge request
- tag
Life
- 提醒喝水
- 提醒订饭
- 提醒下班
- 嘘嘘 🐔
修改 config.json 中的 gitlabHooks
{
"gitlabURL": "your/gitlab/repo/path.git",
"weChatRobotURL": "your/weChatWork/Bot/URL",
"push": true,
"merge": true,
"tag": true
}字段含义
- gitlabURL gitlab 仓库地址,https://www.gitlab/some/path.git
- push 是否处理 push
- merge 是否处理 merge
- tag 是否处理 tag
修改 config.json 中的 life,在数组中添加如下 json 对象
{
"weChatRobotURL": "your/weChatWork/Bot/URL",
"drinkWater": true,
"offDuty": true,
"orderMeal": true,
"pee": true
}字段含义
- drinkWater 是否提醒喝水
- offDuty 是否提醒下班
- orderMeal 是否提醒订饭
- pee 是否提醒嘘嘘
- 编译并部署到服务器上
- 在
gitlab webhook上,填入服务器接口地址you.server.domain:9091/gitlabHook
欢迎提交 issue 或者 Pull Request