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)
Firebase settings:
{
"hosting": {
"cleanUrls": true,
"public": "out/",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
},
"storage": {
"rules": "storage.rules"
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
}
}