You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/examples/vercel-sync-env-vars.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,24 @@ import VercelDocsCards from "/snippets/vercel-docs-cards.mdx";
11
11
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.
12
12
13
13
<Note>
14
-
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables in the
15
-
Trigger.dev dashboard, or pass in the token and project ID as arguments to the `vercelSyncEnvVars`
16
-
build extension. If you're working with a team project, you'll also need to set `VERCEL_TEAM_ID`.
17
-
You can find / generate the `VERCEL_ACCESS_TOKEN` in your Vercel
14
+
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables, or pass
15
+
in the token and project ID as arguments to the `syncVercelEnvVars` build extension. If you're
16
+
working with a team project, you'll also need to set `VERCEL_TEAM_ID`, which can be found in your
17
+
team settings. You can find / generate the `VERCEL_ACCESS_TOKEN` in your Vercel
18
18
[dashboard](https://vercel.com/account/settings/tokens). Make sure the scope of the token covers
19
19
the project with the environment variables you want to sync.
Copy file name to clipboardExpand all lines: docs/guides/frameworks/nextjs.mdx
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,25 +247,26 @@ Here are the steps to trigger your task in the Next.js App and Pages router and
247
247
248
248
## Automatically sync environment variables from your Vercel project (optional)
249
249
250
-
If you want to automatically sync environment variables from your Vercel project to Trigger.dev, you can add our `vercelSyncEnvVars` build extension to your `trigger.config.ts` file.
250
+
If you want to automatically sync environment variables from your Vercel project to Trigger.dev, you can add our `syncVercelEnvVars` build extension to your `trigger.config.ts` file.
251
251
252
252
<Note>
253
253
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables, or pass
254
-
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension. If you're
255
-
working with a team project, you'll also need to set `VERCEL_TEAM_ID`. You can find / generate
256
-
the `VERCEL_ACCESS_TOKEN` in your Vercel [dashboard](https://vercel.com/account/settings/tokens).
257
-
Make sure the scope of the token covers the project you want to sync.
254
+
in the token and project ID as arguments to the `syncVercelEnvVars` build extension. If you're
255
+
working with a team project, you'll also need to set `VERCEL_TEAM_ID`, which can be found in your
256
+
team settings. You can find / generate the `VERCEL_ACCESS_TOKEN` in your Vercel
257
+
[dashboard](https://vercel.com/account/settings/tokens). Make sure the scope of the token covers
258
+
the project with the environment variables you want to sync.
0 commit comments