Skip to content

Commit aa66462

Browse files
authored
docs(build-server): adjust build env vars section (#2605)
Adds a clarification about the env var prefix stripping.
1 parent f646168 commit aa66462

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/github-integration.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,13 @@ Changes to repository access will be reflected immediately in your Trigger.dev p
9494
## Environment variables at build time
9595

9696
You can expose environment variables during the build and deployment process by prefixing them with `TRIGGER_BUILD_`.
97+
In the build server, the `TRIGGER_BUILD_` prefix is stripped from the variable name, i.e., `TRIGGER_BUILD_MY_TOKEN` is exposed as `MY_TOKEN`.
98+
9799
Build extensions will also have access to these variables.
98100

99-
Build environment variables only apply to deployments in the environment you set them in.
101+
<Note>
102+
Build environment variables only apply to deployments in the environment you set them in.
103+
</Note>
100104

101105
Learn more about managing [environment variables](/deploy-environment-variables).
102106

0 commit comments

Comments
 (0)