Setup Gitea support¶
Note
The following instructions also apply to Forgejo instances.
CodeMC supports hooking into Gitea instances for creating new builds whenever a commit is done to your project.
Setup automatic Builds¶
CodeMC allows you to create builds whenever a commit is pushed to your repository.
The setup can be done either for an entire organization, or a specific repository. The steps are the exact same except for where you apply the changes.
- Go to your Organization/Repository and press Settings
- Press Webhooks on the left-hand side.
- Press the Add Webhook button and select Gitea.
- Add
https://ci.codemc.io/...
as the target URL. - Under Trigger on either leave it at
push events
or choseCustom events...
and choose the following:Pull request
Push
Repository
- Press Add Webhook to save your new Webhook.