Skip to content

Commit

Permalink
Specify firebase-tools version for ci cd
Browse files Browse the repository at this point in the history
  • Loading branch information
meleongg committed Dec 14, 2023
1 parent 346966f commit 6b3874c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -22,5 +22,6 @@ jobs:
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NWPLUS_UBC }}'
channelId: live
projectId: nwplus-ubc
firebaseToolsVersion: 12.9.1
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
3 changes: 2 additions & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -18,5 +18,6 @@ jobs:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NWPLUS_UBC }}'
projectId: nwplus-ubc
with: firebaseToolsVersion: 12.9.1
env:
FIREBASE_CLI_PREVIEWS: hostingchannels

0 comments on commit 6b3874c

Please sign in to comment.