Skip to content

Commit

Permalink
fix: missed evn vars with github action
Browse files Browse the repository at this point in the history
  • Loading branch information
yjose committed Feb 3, 2024
1 parent 9ff6070 commit de85910
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const env = createEnv({
* isn't built with invalid env vars.
*/
server: {
NODE_ENV: z.enum(["development", "test", "production"]),
CLERK_SECRET_KEY: z.string(),
GITHUB_API_TOKEN: z.string(),
SPOTIFY_CLIENT_ID: z.string(),
Expand All @@ -33,7 +32,6 @@ export const env = createEnv({
* middlewares) or client-side so we need to destruct manually.
*/
runtimeEnv: {
NODE_ENV: process.env.NODE_ENV,
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY:
process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,
CLERK_SECRET_KEY: process.env.CLERK_SECRET_KEY,
Expand Down

0 comments on commit de85910

Please sign in to comment.