File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -161,13 +161,16 @@ To test the workflow:
161161## Known Issues & Future Improvements
162162
163163### URL Stability Problem
164+
164165Currently, Cloudflare's Direct Upload API creates a new deployment hash with each push, resulting in changing preview URLs like:
166+
165167- First push: ` https://2e1a74f4.ddev-com-fork-previews.pages.dev `
166168- Second push: ` https://e98fa6ff.ddev-com-fork-previews.pages.dev `
167169
168170This breaks the ability to bookmark or share stable preview URLs for review purposes.
169171
170172** Potential Solutions to Investigate:**
173+
1711741 . ** Force predictable branch naming** : Try using branch names like ` pr${{ github.event.pull_request.number }} ` and construct expected URLs manually
1721752 . ** Track and reuse first URL** : Store the initial deployment URL and attempt to update the same deployment rather than creating new ones
1731763 . ** Use Cloudflare API directly** : Bypass the GitHub action and use Wrangler CLI or direct API calls for more control over deployment naming
You can’t perform that action at this time.
0 commit comments