-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #345 from cloudflare/fix/pages-gh-deployment
fix: pages github deployment not triggering due to incorrect condition #2
- Loading branch information
Showing
3 changed files
with
6 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"wrangler-action": patch | ||
--- | ||
|
||
fix: Pages GitHub Deployment not triggering |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,30 +17,6 @@ const OutputEntryPagesDeployment = OutputEntryBase.merge( | |
// optional, added in [email protected] | ||
production_branch: z.string().optional(), | ||
// optional, added in [email protected] | ||
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 [email protected] | ||
deployment_trigger: z | ||
.object({ | ||
metadata: z.object({ | ||
|