Skip to content

Commit de3b9a1

Browse files
authored
docs: document secret env vars and Vercel sync behavior (#3419)
1 parent be6b490 commit de3b9a1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/deploy-environment-variables.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ We deploy your tasks and scale them up and down when they are triggered. So any
3030
locally.
3131
</Note>
3232

33+
### Secret environment variables
34+
35+
When creating an environment variable, you can mark it as a **Secret**. Secret values are hidden in the dashboard and cannot be viewed after creation.
36+
37+
<Warning>
38+
Marking a variable as a Secret is irreversible and can only be done when creating the variable. To
39+
change this setting, you must delete the variable and create a new one.
40+
</Warning>
41+
3342
### Editing environment variables
3443

3544
You can edit an environment variable's values. You cannot edit the key name, you must delete and create a new one.

docs/vercel-integration.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ The following variables are excluded from the Vercel → Trigger.dev sync:
104104

105105
You can control sync behavior per-variable from your project's Vercel settings. Deselecting a variable prevents its value from being updated during future syncs.
106106

107+
<Note>
108+
Environment variables are pulled from Vercel before each build. To sync updated values into
109+
Trigger.dev, trigger a new Vercel deployment — either by pushing a commit to your connected branch
110+
or by redeploying from the Vercel dashboard.
111+
</Note>
112+
107113
<Warning>
108114
If you are experiencing incorrectly populated environment variables, check that you are not using
109115
the `syncVercelEnvVars` build extension in your `trigger.config.ts`. This extension is deprecated

0 commit comments

Comments
 (0)