542 B
542 B
Configure git webhooks
First, follow instructions at /docs/rest_api.md
Generate API key
/msg <bot> apikey /api/github /api/gitea`
e.g.
/msg <bot> apikey github-jesopo /api/github /api/gitea`
Enable hook in-channel
For single repository
!webhook add /
For whole organisation
!webhook add
Format webhook URL
GitHub: https://example.com:5000/api/github?key=<apikey>
Gitea: https://example.com:5000/api/gitea?key=<apikey>