build: implement stable URLs for forked PR previews#432
Merged
Conversation
- Migrate from deprecated cloudflare/pages-action to cloudflare/wrangler-action@v3 - Use pages-deployment-alias-url output for stable branch URLs - Update URL pattern matching for broader compatibility - Replace "Known Issues" documentation with "Stable URL Implementation" - Maintain backward compatibility with existing project configuration This resolves the URL stability problem where preview URLs changed with each deployment, providing consistent URLs for better collaboration and bookmarking. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add .github/workflows/ to .prettierignore to exclude workflow files - Fix formatting in .github/FORK_PREVIEW_SETUP.md per prettier requirements - Workflows use different YAML formatting conventions than main codebase 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
🌐 Fork Preview for PR #432 https://27a5dfec.ddev-com-fork-previews.pages.dev This preview updates automatically when you push changes to your fork. |
stasadev
approved these changes
Sep 22, 2025
Member
stasadev
left a comment
There was a problem hiding this comment.
Thank you! Looks good to me.
|
PR closed. The Cloudflare Pages preview is no longer updated. |
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.
The Issue
build: allow forked PRs to build previews, fixes #79 #430
Forked-PR preview was using a non-stable (commit-based) preview URL instead of stable branch-based URL
It was using a deprecated action, cloudflare/pages-action
Thanks as always @stasadev for your careful and thoughtful review and solutions.
How This PR Solves The Issue
Manual testing
🤖 Generated with Claude Code