how to deploy ISR build folder in next js to firebase ? I migrate from ssg to isr, currently, I deploy the out folder with export method.. now when i remove (export method (does not support ISR (getStatichPath fallback :true right ?) firebase can't detect the index folder...
any tutorial ? how to deploy nextjs with Incremental Static Regeneration ? ISR ?
what i know is firebase deploy from out folder (SSG)
firrebase seting
{
"hosting": {
"cleanUrls": true,
"public": "out/",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
},
"storage": {
"rules": "storage.rules"
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
}
}