{% extends "coprs/detail/settings.html" %} {% set selected_monitor_tab = "webhooks" %} {%block settings_breadcrumb %}Webhooks{% endblock %} {% block tab_content %}
You can set up automatic builds of your packages coming from Pagure and Github repositories.
Copr will now rebuild the package every time it receives the webhook call - usually with every commit or every tag.
Note, don’t get confused by “Activate fedmsg notifications” in the “Project options” section; that’s only for Pagure UI-related actions. Scroll down until you reach the “Hooks” section.
Settings
/ Webhooks and services
. Add webhook
button. Payload URL
field with the url above. application/json
as the content type. Add webhook
button. Settings
/ Integrations
. URL
field with the url above. Push events
and Tag push events
as event triggers. Add webhook
button. Settings
/ Workflow
/ Webhooks
/ Add webhook
. URL
field with the url above. Repository Push
. Save
button. Use the GitLab/GitHub steps above (when needed), or simply