Skip to content

Commit

Permalink
Fix deploy functions 2
Browse files Browse the repository at this point in the history
  • Loading branch information
yevkim committed Nov 26, 2024
1 parent 7731e94 commit 88b0631
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy_functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,13 @@ jobs:
# Step 4: Authenticate Firebase CLI
- name: Authenticate Firebase CLI
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN_SCHEMES_V3_DEV }}
GOOGLE_APPLICATION_CREDENTIALS: ${HOME}/serviceAccountKey.json
run: |
echo "$SERVICE_ACCOUNT_KEY" > ${HOME}/serviceAccountKey.json
firebase auth:login:ci --project $FIREBASE_PROJECT_ID --token $FIREBASE_TOKEN
firebase use --add $FIREBASE_PROJECT_ID --token $FIREBASE_TOKEN
# Step 5: Deploy All Functions
- name: Deploy Firebase Functions
run: |
firebase deploy --only functions --project $FIREBASE_PROJECT_ID
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
GOOGLE_APPLICATION_CREDENTIALS: ${HOME}/serviceAccountKey.json

0 comments on commit 88b0631

Please sign in to comment.