Stop t3-env from asking for env in github actions
Title^^
My ci/cd to vercel is failing as it’s asking me to add my variables to the secrets, but I don’t wanna do that
Do I add them to skip validation??
Solution:Jump to solution
Try the following configuration
src/env.ts - config
```ts
import { z } from 'zod';...
6 Replies
(would also need to match min char requirements and etc) if I added to secrets
wasn’t there a special variable like SKIP_ENV_CHEK=1? so you can add it into command
That skips it in dev and builds tho right
Solution
Try the following configuration
src/env.ts - config
Ensure the
process.env.SKIP_ENV_VALIDATION
is a boolean value
.github/workflows/ci.yml - workflow file
@Elite solution above ^^
don't forget to mark as solution
ty will try it out