Skip to content

Fix preview URL outputs in publish workflow#49

Merged
homotechsual merged 10 commits into
mainfrom
develop
Jun 25, 2026
Merged

Fix preview URL outputs in publish workflow#49
homotechsual merged 10 commits into
mainfrom
develop

Conversation

@homotechsual

Copy link
Copy Markdown
Collaborator

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

Copilot AI review requested due to automatic review settings June 24, 2026 19:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-action and add a step to compute a final preview URL (alias-first fallback).
  • Upgrade Docusaurus/React/tooling dependencies and Yarn via packageManager.
  • Enable trailingSlash in 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.

Comment thread package.json
Comment thread .github/workflows/publish.yml Outdated
homotechsual and others added 6 commits June 24, 2026 20:07
- 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>
@github-actions

Copy link
Copy Markdown

⚡ Successfully deployed to Cloudflare Pages!

| 🔨 Latest commit | edbce6d |
| 🔍 Latest deploy log | https://github.com/DocusaurusCommunity/website/actions/runs/28166013158 |
| 😎 Deploy preview URL | https://head.docusauruscommunitywebsite.pages.dev |
| 🌳 Environment | preview |

@homotechsual homotechsual merged commit 18e585b into main Jun 25, 2026
3 checks passed
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
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.

3 participants