mirror of
https://github.com/tiennm99/tiennm99.github.io.git
synced 2026-10-11 03:13:44 +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:
1 parent
418760409f
commit
0a19e27509
4 files changed
+41
-8
No files matched your search
+14
@@ -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
|
||||||
+22
-8
@@ -1,10 +1,24 @@
|
|||||||
{
|
{
|
||||||
"hosting": {
|
"hosting": [
|
||||||
"public": "public",
|
{
|
||||||
"ignore": [
|
"target": "miti99",
|
||||||
"firebase.json",
|
"public": "public",
|
||||||
"**/.*",
|
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
|
||||||
"**/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