Create Deployment
create_deploymentDeploy Worker versions to live traffic: use one version at 100% or split traffic for gradual rollouts.
Instructions
Point live traffic at Worker versions: a single version at 100%, or a gradual rollout splitting traffic across two versions (e.g. 90/10). Percentages must sum to 100.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Deploy even if normally blocked (e.g. a secret changed since the target version) | |
| message | No | Deployment message (workers/message annotation) | |
| versions | Yes | One version at 100%, or two versions splitting traffic (e.g. 90/10 for a gradual rollout). Percentages must sum to 100. | |
| script_name | Yes | The name of the Worker script |