Remove stages from pages-deploy-detailed artifact and add changeset

This commit is contained in:
Maximo Guk 2025-01-17 09:31:23 -06:00
parent 923db6f87f
commit e819570b2d
No known key found for this signature in database
GPG key ID: 6ACC2847315F8810
2 changed files with 5 additions and 24 deletions

View file

@ -0,0 +1,5 @@
---
"wrangler-action": patch
---
fix: Pages GitHub Deployment not triggering

View file

@ -17,30 +17,6 @@ const OutputEntryPagesDeployment = OutputEntryBase.merge(
// optional, added in wrangler@3.89.0 // optional, added in wrangler@3.89.0
production_branch: z.string().optional(), production_branch: z.string().optional(),
// optional, added in wrangler@3.89.0 // 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 deployment_trigger: z
.object({ .object({
metadata: z.object({ metadata: z.object({