Open tsteckenborn opened 1 month ago
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.
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:
https://github.com/cloudflare/wrangler-action/blob/b2be7abbfc024e06516af00e22260d4b6edcce53/src/index.ts#L343-L349
Would be nice if this could be improved.