Skip to content

Commit

Permalink
cd: fix invalid firebase target
Browse files Browse the repository at this point in the history
  • Loading branch information
longwind48 committed Sep 10, 2024
1 parent b3f9c36 commit 852f8d9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ jobs:
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SCHEMESSG_V3_DEV }}
channelId: live
projectId: schemessg-v3-dev
entryPoint: ./frontend
target: schemessg-v3-dev # for staging
target: staging
entryPoint: .
15 changes: 13 additions & 2 deletions frontend/.firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{
"projects": {
"default": "schemessg-v3-dev"
}
}
},
"targets": {
"schemessg-v3-dev": {
"hosting": {
"staging": [
"schemessg-v3-dev"
]
}
}
},
"etags": {},
"dataconnectEmulatorConfig": {}
}
7 changes: 2 additions & 5 deletions frontend/firebase.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"hosting": {
"target": "schemessg-v3-dev",
"public": "out",
"target": "staging",
"public": "frontend/out",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"frameworksBackend": {
"region": "asia-east1"
},
"rewrites": [
{
"source": "**",
Expand Down

0 comments on commit 852f8d9

Please sign in to comment.