Mokacchi
Mokacchi
CDCloudflare Developers
Created by twiceburnt on 4/10/2025 in #workers-help
Stop wrangler from opening PR's in my github repo
I think it's being worked on, but don't take that from me
3 replies
CDCloudflare Developers
Created by twiceburnt on 4/10/2025 in #workers-help
Stop wrangler from opening PR's in my github repo
I had that issue before as well, and from what I understand, when you deploy a worker with an environment set, the deployed worker will have that environment as part of its name. Hence you get two completely separate entries in your dashboard when you deploy both of those environments. Taking this the other way around means that a worker that is already deployed on your account, say worker1, should also be called worker1-mainnet in your dashboard if you want to deploy that environment to it, and the other one should be called worker1-testnet. You cannot, at this time, deploy multiple environments into the same worker1 (without suffix)
3 replies
CDCloudflare Developers
Created by Mokacchi on 4/12/2025 in #workers-help
"Update name in Wrangler configuration file to match deployed Worker" even though name is the same
https://developers.cloudflare.com/workers/ci-cd/builds/advanced-setups/#example-1 I found something (by mere chance) that explains exactly what I need and takes preview urls into consideration :MeowHeartCloudflare:
4 replies
CDCloudflare Developers
Created by Mokacchi on 4/12/2025 in #workers-help
"Update name in Wrangler configuration file to match deployed Worker" even though name is the same
Maybe my understanding is completely off here. Despite having "Builds for non-production branches" be a thing now, a single worker in the Workers & Pages in the dashboard can still only have a single environment, and the environment suffix needs to be part of the worker name in the dashboard, correct? That means I can deploy a worker for the "production" environment and get preview urls for them, and that will create a "<worker-name>-production" worker in the dashboard, but if I wanted to use a different environment for preview urls, that would not be possible with this setup?
4 replies
CDCloudflare Developers
Created by Mokacchi on 4/12/2025 in #workers-help
"Update name in Wrangler configuration file to match deployed Worker" even though name is the same
No description
4 replies