Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support version preview urls in Cloudflare workers #302

Open
Phoenixmatrix opened this issue Oct 15, 2024 · 0 comments
Open

Support version preview urls in Cloudflare workers #302

Phoenixmatrix opened this issue Oct 15, 2024 · 0 comments

Comments

@Phoenixmatrix
Copy link

Phoenixmatrix commented Oct 15, 2024

Cloudflare Workers now support preview urls similar to Cloudflare Pages. Unfortunately wrangler's output for those is slightly different than the output from Pages, so the regex doesn't catch it to store in deployment-url.

Example of Wrangler's output:

Version Preview URL: https://an21s8iyi-worker-test.mydomain.workers.dev/

Without that, it's difficult to get access to the url in a version preview (it's available in the output, but its tough to capture it to use elsewhere in my GitHub action).

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

No branches or pull requests

1 participant