-
Notifications
You must be signed in to change notification settings - Fork 178
Use wrangler deploy artifacts for deployment URLs #311
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
Comments
This is a bug where wrangler-action is picking up the first url listed in environment variables. We need to create a PR to use deployment metadata instead. Updating this issue to reflect what work needs to be done. |
…)" This reverts commit fd8b3a5. The world wasn't ready (I think it's cloudflare/wrangler-action#311). [skip ci]
I still have this issue due to it extracts the first URL from stdout, which is verison:
|
I'm experiencing this issue as well. When I define a URL as a Wrangler step:
Then in the subsequent action step, where I output the deployment URL:
|
I faced the same issue and this is my workaround to extract the url from stdout:
|
Hi @michael-land , @simontong and @iharuya 👋 ! Could you see if the latest version of wrangler-action with the latest version of wrangler installed in your repo fixed this issue for you? |
That appears to have fixed it thanks! |
Hi all,
I was wondering why I see some of my environment variables as deployment urls. I would argue that the coding here is not robust enough as I now always get, for example, the posthog endpoint I set as a variable (because it may be us or eu) as my deployment url:
wrangler-action/src/index.ts
Lines 343 to 349 in b2be7ab
Would be nice if this could be improved.
The text was updated successfully, but these errors were encountered: