fix(build): rename GITUH_PAT -> GH_PAT

This commit is contained in:
Pihkaal
2024-09-12 17:44:10 +02:00
parent 484cd937ab
commit c98306fecb
2 changed files with 10 additions and 9 deletions

View File

@@ -3,9 +3,10 @@ import { configDotenv } from "dotenv";
configDotenv();
// yeah ok might be overkill lol but I had more env variables before
const schema = z.object({
GITHUB_PAT: z.string().min(1),
GITHUB_USERNAME: z.string().min(1),
GH_PAT: z.string().min(1),
});
const result = schema.safeParse(process.env);