Skip to content

Commit e934f90

Browse files
committed
fix(ci): replace Google Cloud auth with Firebase token in prod workflow
- Remove google-github-actions/auth@v2 step that was failing - Use --token with FIREBASE_TOKEN secret for Firebase deployments (same as staging) - Aligns production workflow authentication with working staging workflow - Resolves 'must specify exactly one of workload_identity_provider or credentials_json' error This matches the authentication pattern used in deploy-staging.yml
1 parent 10b0684 commit e934f90

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,8 @@ jobs:
2525
node-version: ${{ matrix.node-version }}
2626
- run: yarn install && yarn build
2727
- run: yarn release
28-
- name: Authenticate with Google Cloud
29-
uses: google-github-actions/auth@v2
30-
with:
31-
credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
32-
33-
- run: cd functions && yarn install && yarn deploy:config:prod
34-
- run: yarn deploy:prod
28+
- run: cd functions && yarn install && yarn deploy:config:prod --token ${{ secrets.FIREBASE_TOKEN }}
29+
- run: yarn deploy:prod --token ${{ secrets.FIREBASE_TOKEN }}
3530
- name: Upload Release Asset
3631
id: upload-release-asset
3732
uses: shogo82148/actions-upload-release-asset@v1

0 commit comments

Comments
 (0)