Skip to content

Commit bff8f9f

Browse files
cmsparksToriLindsayhyperlint-ai[bot]kodster28
authored
Add WCI WRANGLER_CI_OVERRIDE_NAME documentation (#19699)
* Add WCI WRANGLER_CI_OVERRIDE_NAME documentation * Update src/content/docs/workers/ci-cd/builds/troubleshoot.mdx Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com> * Update src/content/docs/workers/ci-cd/builds/troubleshoot.mdx Co-authored-by: ToriLindsay <[email protected]> --------- Co-authored-by: ToriLindsay <[email protected]> Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com> Co-authored-by: Kody Jackson <[email protected]>
1 parent b09ab09 commit bff8f9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/docs/workers/ci-cd/builds/troubleshoot.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ The build system uses the `name` argument in the wrangler.toml to determine whic
2626
This does not apply to [Wrangler Environments](/workers/wrangler/environments/) if the Worker name before the `-<env_name>` suffix matches the name in wrangler.toml.
2727

2828
For example, a Worker named `my-worker-staging` on the dashboard can be deployed from a repository that contains a wrangler.toml with the arguments `name = my-worker` and `[env.staging]` using the deploy command `npx wrangler deploy --env staging`.
29+
30+
On Wrangler v3 and up, Workers Builds automatically matches the name of the connected Worker by overriding it with the `WRANGLER_CI_OVERRIDE_NAME` environment variable.
2931
:::
3032

3133
### Missing wrangler.toml
@@ -42,7 +44,7 @@ If you see this error, the wrangler.toml likely has an `account_id` for a differ
4244

4345
### Stale API token
4446

45-
` Failed: The build token selected for this build has been deleted or rolled and cannot be used for this build. Please update your build token in the Worker Builds settings and retry the build.`
47+
` Failed: The build token selected for this build has been deleted or rolled and cannot be used for this build. Please update your build token in the Worker Builds settings and retry the build.`
4648

4749
The API Token dropdown in Build Configuration settings may show stale tokens that were edited, deleted, or rolled. If you encounter an error due to a stale token, create a new API Token and select it for the build.
4850

0 commit comments

Comments
 (0)