Skip to content

Commit 051dfca

Browse files
committed
fix(cli): send declared webhooks in the deploy worker metadata
The deploy path now forwards declared webhooks to the server the same way dev does, so hosted webhook endpoints are created and stay active on deploy instead of only working under trigger dev.
1 parent 76a2019 commit 051dfca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/cli-v3/src/entryPoints/managed-index-controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ async function indexDeployment({
103103
tasks: workerManifest.tasks,
104104
prompts: workerManifest.prompts,
105105
queues: workerManifest.queues,
106+
webhooks: workerManifest.webhooks,
106107
sourceFiles,
107108
runtime: workerManifest.runtime,
108109
runtimeVersion: workerManifest.runtimeVersion,

0 commit comments

Comments
 (0)