#Don't do static site generation for specific page

8 messages · Page 1 of 1 (latest)

tender wolf
#

I have a page that is run through ssg but it needs a database connection through prisma but isn't available during build in my pipeline. Is it possible to, because of this, stop ssg for this page or somehow stop the prisma db check?

slow schoonerBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

karmic sundial
#

it should be available I believe

#

to connect prisma in pipeline

tender wolf
#

my database is in an okd cluster and my pipeline where the build happens through docker is on gitlab so i can't really connect the two

#

also the pages are dynamic in nature so i would rather just disable ssg

upbeat valley
#

export const revalidate = 0

tender wolf
#

This worked, thanks