Open vladinator1000 opened 6 months ago
We use a single wrangler.toml to manage ~20 or so workers as separate envs.
We run into this when we want to move a route from worker env A to worker env B. Would love if we could allow overwriting, instead of the 3 PR dance we do today where we add another route with lower precedence to worker B, remove the route in A, and then add the original route to B and remove the temp route.
+1
When I publish my worker I get this error
When I comment out the
route
in mywrangler.toml
I getThe only way I found to make it actually deploy was to go to https://dash.cloudflare.com/myAccountId/mySiteDomain/workers
and manually remove the route before each deployment.
Is there a way to have this automatically work? I don't want to manually do this every time.
Versions: wrangler-action: v3.4.1 wrangler: v3.30.1
Here's my workflow file:
wrangler.toml