mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-16 23:11:06 +00:00
Merge aa103c3fbc into daed515aa7
This commit is contained in:
commit
3c6c3666f2
1 changed files with 16 additions and 0 deletions
|
|
@ -12,6 +12,22 @@ import { Render } from "~/components";
|
|||
|
||||
<Render file="event-subscriptions/intro" product="queues" />
|
||||
|
||||
## Send build notifications
|
||||
|
||||
You can deploy a Worker that consumes build events and sends notifications to Slack, Discord, or any webhook endpoint:
|
||||
|
||||
[](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/main/workers-builds-notifications-template)
|
||||
|
||||
The template sends notifications for:
|
||||
|
||||
- Successful builds with preview or live deployment URLs
|
||||
- Failed builds with error messages
|
||||
- Cancelled builds
|
||||
|
||||

|
||||
|
||||
You can customize the Worker to format messages for your webhook provider. For setup instructions, refer to the [template README](https://github.com/cloudflare/templates/tree/main/workers-builds-notifications-template#readme).
|
||||
|
||||
## Available Workers Builds events
|
||||
|
||||
<Render file="event-subscriptions/workers-builds-events" product="queues" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue