Fix preview URL outputs in publish workflow#49
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Cloudflare Pages publish workflow to use Wrangler deployment outputs for preview URL resolution, alongside dependency/tooling upgrades for the Docusaurus site.
Changes:
- Switch GitHub Actions deploy step to
cloudflare/wrangler-actionand add a step to compute a final preview URL (alias-first fallback). - Upgrade Docusaurus/React/tooling dependencies and Yarn via
packageManager. - Enable
trailingSlashin Docusaurus config.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Upgrades core dependencies/tooling and updates Yarn version metadata. |
| docusaurus.config.ts | Enables trailingSlash for generated site URLs. |
| .github/workflows/publish.yml | Switches deploy action and rewires preview URL output/commenting. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Replace custom webpack/SWC loader config with @docusaurus/faster (rspack) - Remove babel.config.js (no longer needed) - Move onBrokenMarkdownLinks into markdown.hooks per v4 API - Enable future.faster and future.v4.removeLegacyPostBuildHeadAttribute - Replace ExecutionEnvironment import with inline canUseDOM check - Add deployment summary step to publish workflow - Fix pages-environment output reference to use bracket notation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
⚡ Successfully deployed to Cloudflare Pages!| 🔨 Latest commit | edbce6d | |
homotechsual
added a commit
that referenced
this pull request
Jun 26, 2026
Fix preview URL outputs in publish workflow
homotechsual
added a commit
that referenced
this pull request
Jun 26, 2026
Fix preview URL outputs in publish workflow
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- fix Cloudflare Pages preview URL resolution in publish workflow\n- use wrangler-action deployment outputs with alias-first fallback\n- include current yarn artifact and lockfile updates from local changes\n\n## Testing\n- workflow logic update only; validated expression/output wiring