You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: `Deploy multiple TypeScript files that use Wrangler for bundling and deployment to Cloudflare Workers. You must provide a package.json file with the necessary dependencies and a wrangler.toml file matching the Workers for Platforms format. Use 'main_module' instead of 'main', and define bindings using the [[bindings]] array, where each binding is a table specifying its type and properties. To add custom Deco bindings, set type = "MCP" in a binding entry (these will be filtered and handled automatically).
448
452
453
+
Set 'preview: true' to create a preview deployment that won't replace the production version. Preview deployments get their own unique URL but are not promoted to production routes.
454
+
449
455
Common patterns:
450
456
1. Use a package.json file to manage dependencies:
451
457
// package.json
@@ -649,6 +655,13 @@ Important Notes:
649
655
"If true, force the deployment even if there are breaking changes",
650
656
)
651
657
.optional(),
658
+
promote: z
659
+
.boolean()
660
+
.describe(
661
+
"If true, promotes the deployment to production routes. The deployment will be available at a unique URL but won't replace the production version.",
0 commit comments