Skip to content

Commit

Permalink
Add missing Vercel env vars to presets (#286)
Browse files Browse the repository at this point in the history
Co-authored-by: Julius Marminge <[email protected]>
  • Loading branch information
Sparticuz and juliusmarminge authored Jan 25, 2025
1 parent 4215dbd commit 75e1998
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ export const vercel = () =>
createEnv({
server: {
VERCEL: z.string().optional(),
CI: z.string().optional(),
VERCEL_ENV: z.enum(["development", "preview", "production"]).optional(),
VERCEL_URL: z.string().optional(),
VERCEL_PROJECT_PRODUCTION_URL: z.string().optional(),
VERCEL_BRANCH_URL: z.string().optional(),
VERCEL_REGION: z.string().optional(),
VERCEL_DEPLOYMENT_ID: z.string().optional(),
VERCEL_SKEW_PROTECTION_ENABLED: z.string().optional(),
VERCEL_AUTOMATION_BYPASS_SECRET: z.string().optional(),
VERCEL_GIT_PROVIDER: z.string().optional(),
VERCEL_GIT_REPO_SLUG: z.string().optional(),
Expand Down

0 comments on commit 75e1998

Please sign in to comment.