Workers Deploy Hooks Enable Automated Build Triggers
Key Points
- Deploy Hooks enable HTTP-triggered Worker builds
- Automatic deduplication prevents redundant builds
- Integration with CMS, Cron, and external systems
Summary
Cloudflare Workers Builds now supports Deploy Hooks, allowing automated build triggers from external systems via HTTP POST requests. Each Deploy Hook provides a unique URL tied to a specific branch that can trigger Worker builds and deployments.
Key Points
- HTTP-triggered builds: Send POST requests to unique Deploy Hook URLs to trigger builds from any system
- Multiple integration options: Compatible with headless CMS, Cron Triggers, Slack bots, and other HTTP-capable systems
- Worker-to-Worker integration: Deploy Hooks can be called from other Workers, enabling scheduled rebuilds via Cron Triggers
- Built-in optimizations: Automatic deduplication prevents redundant builds when multiple triggers fire simultaneously
- Dashboard visibility: Shows last triggered time and build source tracking in Worker build history
- Rate limiting: 10 builds per minute per Worker, 100 builds per minute per account
Configuration
Access Deploy Hooks via: Workers & Pages > your Worker > Settings > Builds > Deploy Hooks