cf deploy workflows accept --worker for Build Output selection
Introduced 2026-09-25 · score 0.98
HOW TO USE IT
When Build Output contains multiple Workers, pass `--worker <name>` to select the Worker whose configured name matches; otherwise, `cf` uses the default Worker.
cf deploy --worker <name>cf workers check --worker <name>WHY THIS HELPS
Deploy or check a named Worker from the Build Output.
BEFORE THIS CHANGE
Without `--worker`, the command used the default Worker from Build Output.
REQUIREMENTS AND LIMITATIONS
- Version: 1.0.0-beta.1
- --worker <name>: Selects a Worker from Build Output instead of the default Worker. Use the Worker's configured name.
- Prerequisite: Build Output is written to `.cloudflare/output/v0/`; `cf workers check` builds unless `--prebuilt` is passed.
- Prerequisite: `cf deploy` requires sign-in with `cf auth login` or `CLOUDFLARE_API_TOKEN`.
- The selected name must match the Worker's configured name.
FIRST-PARTY EVIDENCE
- https://github.com/cloudflare/cf/blob/main/packages/cli/CHANGELOG.md#100-beta1
- https://developers.cloudflare.com/cf/projects/
Check the installed version and the source before using it. Entry JSON