Skip to content

Commit

Permalink
Use Node 16 to deploy firebase.
Browse files Browse the repository at this point in the history
The direbase-action docker container updated to firebase tools
v13 and Node 18 2 weeks ago. Since our workflow used the `master` tag, it started
using that new version in recent runs, which fails because our firebase
functions require node 16. So we just need to use an older version of
the image from last month for deploys to work. PR codeforboston#1385 updates to node
18, but this will allow us to fix the current prod deployment before
then.
  • Loading branch information
alexjball committed Dec 26, 2023
1 parent c010882 commit e406a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-backend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Build Environment
uses: ./.github/actions/setup-repo
- name: Build and Deploy to Firebase
uses: w9jds/firebase-action@master
uses: w9jds/firebase-action@v12.9.0
with:
args: deploy --force --only firestore,functions,storage
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Build Environment
uses: ./.github/actions/setup-repo
- name: Build and Deploy to Firebase
uses: w9jds/firebase-action@master
uses: w9jds/firebase-action@v12.9.0
with:
args: deploy --force --only firestore,functions,storage
env:
Expand Down

0 comments on commit e406a9d

Please sign in to comment.