Skip to content

Commit 6a60dda

Browse files
committed
docs: add deprecation warning to vercel-sync-env-vars guide
1 parent b8766e7 commit 6a60dda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/guides/examples/vercel-sync-env-vars.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ description: "This example demonstrates how to sync environment variables from y
66

77
import VercelDocsCards from "/snippets/vercel-docs-cards.mdx";
88

9+
<Warning>
10+
**`syncVercelEnvVars` is deprecated.** If you are using the [Vercel
11+
integration](/vercel-integration), do not use this extension — the integration handles environment
12+
variable syncing natively. Using both together can cause env vars to be incorrectly populated.
13+
</Warning>
14+
915
## Build configuration
1016

1117
To sync environment variables, you just need to add our build extension to your `trigger.config.ts` file. This extension will then automatically run every time you deploy your Trigger.dev project.

0 commit comments

Comments
 (0)