Skip to content

Commit

Permalink
Merge pull request #50 from gugcz/main
Browse files Browse the repository at this point in the history
config: update to new firebase project
  • Loading branch information
ryzizub authored Dec 18, 2023
2 parents 2730fdb + 51de84b commit 790d78f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
15 changes: 8 additions & 7 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"projects": {
"default": "gug-web"
"default": "gug-web-2023"
},
"targets": {
"gug-web": {
"gug-web-2023": {
"hosting": {
"staging": [
"staging-gug"
"staging-gug-web"
],
"production":[
"public-gug"
"production": [
"gug-web-2023"
]
}
}
}
}
},
"etags": {}
}
4 changes: 2 additions & 2 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}'
channelId: live
target: staging
projectId: gug-web
projectId: gug-web-2023
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
4 changes: 2 additions & 2 deletions .github/workflows/firebase-hosting-production-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}'
channelId: live
target: production
projectId: gug-web
projectId: gug-web-2023
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
4 changes: 2 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB }}'
projectId: gug-web
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}'
projectId: gug-web-2023
target: staging
expires: 7d
env:
Expand Down

0 comments on commit 790d78f

Please sign in to comment.