mirror of
https://github.com/tiennm99/tiennm99.github.io.git
synced 2026-05-14 06:59:24 +00:00
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:
+14
@@ -2,5 +2,19 @@
|
||||
"projects": {
|
||||
"miti99": "miti99",
|
||||
"tiennm99": "tiennm99"
|
||||
},
|
||||
"targets": {
|
||||
"miti99": {
|
||||
"hosting": {
|
||||
"miti99": ["miti99"],
|
||||
"meetee": ["meetee"],
|
||||
"tiennm": ["tiennm"]
|
||||
}
|
||||
},
|
||||
"tiennm99": {
|
||||
"hosting": {
|
||||
"tiennm99": ["tiennm99"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,9 @@ on:
|
||||
jobs:
|
||||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
target: [miti99, meetee, tiennm]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
@@ -14,3 +17,4 @@ jobs:
|
||||
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MITI99 }}
|
||||
channelId: live
|
||||
projectId: miti99
|
||||
target: ${{ matrix.target }}
|
||||
|
||||
@@ -14,3 +14,4 @@ jobs:
|
||||
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TIENNM99 }}
|
||||
channelId: live
|
||||
projectId: tiennm99
|
||||
target: tiennm99
|
||||
|
||||
+22
-8
@@ -1,10 +1,24 @@
|
||||
{
|
||||
"hosting": {
|
||||
"public": "public",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
||||
"hosting": [
|
||||
{
|
||||
"target": "miti99",
|
||||
"public": "public",
|
||||
"ignore": ["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/**"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user