PrismaP
Prisma5w ago
4 replies
Offspec

Prisma Generate & Build Pipeline

My project has an intermediate build step before hitting production. I can't run prisma generate during the build process becuase the build environment doesn't have access to the production environment variables, nor does it generate unique builds for each environment. It appears that the recommended route is to run prisma generate and then perform builds on the production environment, but that is less than ideal as I would like to utilize my existing build pipeline to generate single build artifacts that are deployed many times and have better visbility for errors and whatnot. Is there a way to run prisma generate without requiring access to the database?
Was this page helpful?