Skip to content

Commit

Permalink
Fix deploy functions 17
Browse files Browse the repository at this point in the history
  • Loading branch information
yevkim committed Nov 27, 2024
1 parent 580f39d commit 7b610b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy_functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
with:
node-version: 19.7.0

# Step 4: Create Service Account Key and Set Env Variables
# - name: Create SA key and set env variables
# run: |
# echo '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SCHEMESSG_V3_DEV }}' > ${{ runner.temp }}/gcloud.json
# echo "GOOGLE_APPLICATION_CREDENTIALS=${{ runner.temp }}/gcloud.json" >> $GITHUB_ENV
Step 4: Create Service Account Key and Set Env Variables
- name: Create SA key and set env variables
run: |
echo '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SCHEMESSG_V3_DEV }}' > ${{ runner.temp }}/gcloud.json
echo "GOOGLE_APPLICATION_CREDENTIALS=${{ runner.temp }}/gcloud.json" >> $GITHUB_ENV
# Step 5: Prepare the environment
- name: Prepare the environment
Expand All @@ -51,6 +51,6 @@ jobs:
# Step 6: deploy functions
- name: Deploy functions
working-directory: backend
# env:
# GOOGLE_APPLICATION_CREDENTIALS: ${{ runner.temp }}/gcloud.json
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ runner.temp }}/gcloud.json
run: npx firebase-tools deploy --only functions --debug --token "${{ secrets.FIREBASE_TOKEN_SCHEMESSG_V3_DEV }}"

0 comments on commit 7b610b7

Please sign in to comment.