Skip to content

Commit b71892c

Browse files
committed
Copy tweaks
1 parent 2335d26 commit b71892c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ This example shows how to automatically sync environment variables from your Ver
1212

1313
## Build configuration
1414

15-
To sync environment variables from your Vercel project to Trigger.dev, you just need to add this build configuration to your `trigger.config.ts` file. This extension will then automatically run every time you deploy your project.
16-
17-
This code syncs encrypted environment variables, filtering them based on the current environment (production, preview, or development).
15+
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.
1816

1917
<Note>
20-
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables, or pass
21-
in the token and project ID as arguments to the `vercelSyncEnvVars` build extension. You can find
22-
/ generate the `VERCEL_ACCESS_TOKEN` in your Vercel
18+
You need to set the `VERCEL_ACCESS_TOKEN` and `VERCEL_PROJECT_ID` environment variables in the
19+
Trigger.dev dashboard, or pass in the token and project ID as arguments to the `vercelSyncEnvVars`
20+
build extension. You can find / generate the `VERCEL_ACCESS_TOKEN` in your Vercel
2321
[dashboard](https://vercel.com/account/settings/tokens). Make sure the scope of the token covers
24-
the project you want to sync.
22+
the project with the environment variables you want to sync.
2523
</Note>
2624

2725
```ts trigger.config.ts
@@ -46,7 +44,7 @@ export default defineConfig({
4644

4745
## Running the sync operation
4846

49-
To sync the environment variables, all you need to do is run the `deploy` command. You should see some output in the console indicating that the environment variables have been synced, and they should now be available in your Trigger.dev dashboard.
47+
To sync the environment variables, all you need to do is run our `deploy` command. You should see some output in the console indicating that the environment variables have been synced, and they should now be available in your Trigger.dev dashboard.
5048

5149
```bash
5250
npx trigger.dev@latest deploy

0 commit comments

Comments
 (0)