Skip to content

Commit c5f0a2f

Browse files
committed
fix: refactor Firebase deployment workflow to use environment variables for service account credentials
1 parent 7e450d9 commit c5f0a2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/firebase-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- name: Deploy Frontend to Firebase Hosting
4343
uses: FirebaseExtended/action-hosting-deploy@v0
4444
with:
45-
repoToken: "${{ secrets.GITHUB_TOKEN }}"
46-
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_THINGS_TO_COMPLETE }}"
45+
repoToken: ${{ secrets.GITHUB_TOKEN }}
46+
firebaseServiceAccount: ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
4747
channelId: live
4848
projectId: ${{ env.PROJECT_ID }}
4949

@@ -53,7 +53,7 @@ jobs:
5353

5454
- uses: 'google-github-actions/auth@v2'
5555
with:
56-
credentials_json: '${{ env.GOOGLE_APPLICATION_CREDENTIALS }}'
56+
credentials_json: ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
5757

5858
- name: Deploy functions
5959
run: |

0 commit comments

Comments
 (0)