Skip to content

Commit 99507ba

Browse files
committed
Added sync env var docs link and note
1 parent 04a3c44 commit 99507ba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/config/config-file.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ These environment variables are only used during the build process and are not e
491491

492492
#### syncEnvVars
493493

494-
The `syncEnvVars` build extension replaces the deprecated `resolveEnvVars` export.
494+
The `syncEnvVars` build extension replaces the deprecated `resolveEnvVars` export. Check out our [syncEnvVars documentation](/deploy-environment-variables#sync-env-vars-from-another-service) for more information.
495495

496496
```ts
497497
import { syncEnvVars } from "@trigger.dev/build/extensions/core";
@@ -509,6 +509,11 @@ export default defineConfig({
509509

510510
The `vercelSyncEnvVars` build extension syncs environment variables from your Vercel project to Trigger.dev.
511511

512+
<Note>
513+
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables, or pass
514+
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension.
515+
</Note>
516+
512517
```ts
513518
import { defineConfig } from "@trigger.dev/sdk/v3";
514519
import { vercelSyncEnvVars } from "@trigger.dev/build/extensions/core";

0 commit comments

Comments
 (0)