From e819570b2d0a69816a1c2e9d2f2954e278748d80 Mon Sep 17 00:00:00 2001 From: Maximo Guk <62088388+Maximo-Guk@users.noreply.github.com> Date: Fri, 17 Jan 2025 09:31:23 -0600 Subject: [PATCH] Remove stages from pages-deploy-detailed artifact and add changeset --- .changeset/tiny-pillows-return.md | 5 +++++ src/wranglerArtifactManager.ts | 24 ------------------------ 2 files changed, 5 insertions(+), 24 deletions(-) create mode 100644 .changeset/tiny-pillows-return.md diff --git a/.changeset/tiny-pillows-return.md b/.changeset/tiny-pillows-return.md new file mode 100644 index 0000000..3bb9b5b --- /dev/null +++ b/.changeset/tiny-pillows-return.md @@ -0,0 +1,5 @@ +--- +"wrangler-action": patch +--- + +fix: Pages GitHub Deployment not triggering diff --git a/src/wranglerArtifactManager.ts b/src/wranglerArtifactManager.ts index 2d7f7fb..a6b144d 100644 --- a/src/wranglerArtifactManager.ts +++ b/src/wranglerArtifactManager.ts @@ -17,30 +17,6 @@ const OutputEntryPagesDeployment = OutputEntryBase.merge( // optional, added in wrangler@3.89.0 production_branch: z.string().optional(), // optional, added in wrangler@3.89.0 - stages: z - .array( - z.object({ - name: z.enum([ - "queued", - "initialize", - "clone_repo", - "build", - "deploy", - ]), - status: z.enum([ - "idle", - "active", - "canceled", - "success", - "failure", - "skipped", - ]), - started_on: z.string().nullable(), - ended_on: z.string().nullable(), - }), - ) - .optional(), - // optional, added in wrangler@3.89.0 deployment_trigger: z .object({ metadata: z.object({