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/frameworks/nextjs.mdx
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -245,6 +245,32 @@ Here are the steps to trigger your task in the Next.js App and Pages router and
245
245
246
246
</Tabs>
247
247
248
+
## Automatically sync environment variables from your Vercel project (optional)
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.
251
+
252
+
<Note>
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.
0 commit comments