feat: add meetee and tiennm hosting sites under miti99 project

Configure Firebase multi-site hosting so the redirect deploys to
meetee.web.app and tiennm.web.app alongside miti99.web.app, all
sharing the same public/ content under the miti99 project.
This commit is contained in:
tiennm99 committed 2026-05-11 16:47:09 +07:00
1 parent 418760409f
commit 0a19e27509
4 files changed
+39 -6

No files matched your search

+14
View File
@@ -2,5 +2,19 @@
"projects": { "projects": {
"miti99": "miti99", "miti99": "miti99",
"tiennm99": "tiennm99" "tiennm99": "tiennm99"
},
"targets": {
"miti99": {
"hosting": {
"miti99": ["miti99"],
"meetee": ["meetee"],
"tiennm": ["tiennm"]
}
},
"tiennm99": {
"hosting": {
"tiennm99": ["tiennm99"]
}
}
} }
} }
@@ -6,6 +6,9 @@ on:
jobs: jobs:
build_and_deploy: build_and_deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
target: [miti99, meetee, tiennm]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: FirebaseExtended/action-hosting-deploy@v0 - uses: FirebaseExtended/action-hosting-deploy@v0
@@ -14,3 +17,4 @@ jobs:
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MITI99 }} firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MITI99 }}
channelId: live channelId: live
projectId: miti99 projectId: miti99
target: ${{ matrix.target }}
@@ -14,3 +14,4 @@ jobs:
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TIENNM99 }} firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TIENNM99 }}
channelId: live channelId: live
projectId: tiennm99 projectId: tiennm99
target: tiennm99
+20 -6
View File
@@ -1,10 +1,24 @@
{ {
"hosting": { "hosting": [
{
"target": "miti99",
"public": "public", "public": "public",
"ignore": [ "ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
"firebase.json", },
"**/.*", {
"**/node_modules/**" "target": "meetee",
] "public": "public",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
},
{
"target": "tiennm",
"public": "public",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
},
{
"target": "tiennm99",
"public": "public",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
} }
]
} }