Skip to content

Commit

Permalink
link to new firebase project and db
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushkh committed Jan 7, 2024
1 parent f4879e4 commit a3b0e3c
Show file tree
Hide file tree
Showing 9 changed files with 19,058 additions and 35,520 deletions.
2 changes: 1 addition & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"projects": {
"default": "tcl-3-smart-shopping-lis-bded2"
"default": "tcl-3-shopping-list"
}
}
10 changes: 4 additions & 6 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm ci --legacy-peer-deps && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: >-
${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_3_SMART_SHOPPING_LIS_BDED2
}}
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_3_SHOPPING_LIST }}'
channelId: live
projectId: tcl-3-smart-shopping-lis-bded2
projectId: tcl-3-shopping-list
10 changes: 4 additions & 6 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ jobs:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm ci --legacy-peer-deps && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: >-
${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_3_SMART_SHOPPING_LIS_BDED2
}}
projectId: tcl-3-smart-shopping-lis-bded2
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_3_SHOPPING_LIST }}'
projectId: tcl-3-shopping-list
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.13.0
v18.0
Loading

0 comments on commit a3b0e3c

Please sign in to comment.