Skip to content

Add parity with pages-action for Pages deploy outputs#303

Merged
courtney-sims merged 1 commit intomainfrom
courtney-sims-enable-outputs
Oct 23, 2024
Merged

Add parity with pages-action for Pages deploy outputs#303
courtney-sims merged 1 commit intomainfrom
courtney-sims-enable-outputs

Conversation

@courtney-sims
Copy link
Contributor

@courtney-sims courtney-sims commented Oct 18, 2024

Enables Pages deploys to provide outputs for id, environment, url, and alias, just like they can in pages-action. The current way of getting deploy outputs with Workers is via wrangler output to std out, but this information for Pages was not available in std out.

Because of that, this change adds a new method for getting outputs via wrangler artifacts.

The new outputs look like this in the Actions view.

When an alias is not available in the artifact:
Screenshot 2024-10-18 at 2 38 10 PM

When an alias is available in the artifact:
Screenshot 2024-10-18 at 2 41 05 PM

When we don't get stuff back from the request for artifact:
Screenshot 2024-10-21 at 10 14 05 AM

@courtney-sims courtney-sims requested review from a team as code owners October 18, 2024 21:55
@courtney-sims courtney-sims force-pushed the courtney-sims-enable-outputs branch from 73da4bd to f6d8d23 Compare October 18, 2024 21:59
@courtney-sims courtney-sims marked this pull request as draft October 21, 2024 15:00
@courtney-sims courtney-sims force-pushed the courtney-sims-enable-outputs branch 3 times, most recently from 1d56fe8 to 62ce1c3 Compare October 21, 2024 16:53
@courtney-sims courtney-sims marked this pull request as ready for review October 21, 2024 17:00
@courtney-sims courtney-sims marked this pull request as draft October 22, 2024 20:37
@courtney-sims courtney-sims force-pushed the courtney-sims-enable-outputs branch 2 times, most recently from 03dd701 to ee43009 Compare October 22, 2024 21:05
@courtney-sims courtney-sims marked this pull request as ready for review October 22, 2024 21:05
@courtney-sims courtney-sims force-pushed the courtney-sims-enable-outputs branch from ee43009 to f788784 Compare October 23, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants