firebase.json
{
"database": {
"rules": "database.rules.json"
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
]
}
],
"hosting": [
{
"target": "isvsocial-1",
"public": "dist/isvsocial-1",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
{
"target": "isvsocial-2",
"public": "dist/isvsocial-2",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
{
"target": "isvsocial-3",
"public": "dist/isvsocial-3",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
],
"storage": {
"rules": "storage.rules"
},
"remoteconfig": {
"template": "remoteconfig.template.json"
}
}
index.html
firebase target:apply hosting isvsocial-1 isvsocial-1
firebase target:apply hosting isvsocial-2 isvsocial-2
firebase target:apply hosting isvsocial-3 isvsocial-3
Deploy CLI
firebase deploy –only hosting:isvsocial-1
firebase deploy –only hosting:isvsocial-2
firebase deploy –only hosting:isvsocial-3