Fire webhook on new deployment

Problem to solve

It would be great to fire webhook (for Mattermost or other services) when new deployments happen to production. A deployment is an interesting event for many reasons and having a webhook available for deployment activities will allow for interesting kinds of automation and/or notifications to be built on top of that event.

Further details

Would like to have webhooks fire for Mattermost and other tools when deployments happen to select environments (e.g. production)

Proposal

Fire webhooks when deployments happen to select environments (e.g. production)

UX Proposal

  • Add a new checkbox under Settings > Integrations > Mattermost notifications (or Slack notifications) for Deployment hook.
  • By default, the checkbox should be unselected.
  • Content of changes:

Deployment hook

[ ] Event will be triggered when a deployment has started/finished

What does success look like, and how can we measure that?

Webhooks fire to select environments (e.g. production)

Links / references

Edited by Rayana Verissimo