From b74e01e72b5e0366930caf97ed6f613a8284c0e4 Mon Sep 17 00:00:00 2001 From: isshaddad Date: Mon, 20 Apr 2026 11:57:14 -0400 Subject: [PATCH 1/2] docs: clarify Vercel env var sync requires a new deployment --- docs/vercel-integration.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/vercel-integration.mdx b/docs/vercel-integration.mdx index a465f5aa39b..3c2cc1b9665 100644 --- a/docs/vercel-integration.mdx +++ b/docs/vercel-integration.mdx @@ -104,6 +104,12 @@ The following variables are excluded from the Vercel → Trigger.dev sync: 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. + + Environment variables are pulled from Vercel before each build. To sync updated values into + Trigger.dev, trigger a new Vercel deployment — either by pushing a commit to your connected branch + or by redeploying from the Vercel dashboard. + + If you are experiencing incorrectly populated environment variables, check that you are not using the `syncVercelEnvVars` build extension in your `trigger.config.ts`. This extension is deprecated From 09ca544dde78893383360c65191a0c5da1593506 Mon Sep 17 00:00:00 2001 From: isshaddad Date: Mon, 20 Apr 2026 11:57:42 -0400 Subject: [PATCH 2/2] docs: document secret environment variables --- docs/deploy-environment-variables.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/deploy-environment-variables.mdx b/docs/deploy-environment-variables.mdx index a4c3b75daf4..529c621dec4 100644 --- a/docs/deploy-environment-variables.mdx +++ b/docs/deploy-environment-variables.mdx @@ -30,6 +30,15 @@ We deploy your tasks and scale them up and down when they are triggered. So any locally. +### Secret environment variables + +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. + + + Marking a variable as a Secret is irreversible and can only be done when creating the variable. To + change this setting, you must delete the variable and create a new one. + + ### Editing environment variables You can edit an environment variable's values. You cannot edit the key name, you must delete and create a new one.