You can set up webhooks so that Bitrise automatically triggers a build of your app whenever you perform a specified action. For Gogs, all you have to do is register your
bitrise-webhooks URL as a Webhook in your Gogs repository.
Get the webhook URL for Gogs ⚓
Navigate to the
Codetab of your app’s page and select
Gogsfrom the dropdown menu of the
Copy the webhook URL for the selected service.
Set up webhook on Gogs ⚓
Open your project on your repository’s hosting URL.
Settingsof the project.
Add Webhook, then
.../h/gogs/BITRISE-APP-SLUG/BITRISE-APP-API-TOKEN) in the
A Secret is not required at this time.
Set the trigger to be fired on
Just the push event.
And you’re done! From now on, every code push to your Gogs repository will trigger a build on Bitrise.