Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sidhdhi-p committed Sep 9, 2024
1 parent ef800a4 commit 78598db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/function_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
- name: Prepare Google Application Credentials
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
FIREBASE_JSON_BASE64: ${{ secrets.FIREBASE_JSON_BASE64 }}
run: |
cd khelo
echo $GOOGLE_APPLICATION_CREDENTIALS | base64 -di > functions/google-application-credentials.json
echo $FIREBASE_JSON_BASE64 | base64 --decode > firebase.json
- name: Deploy Firebase functions
run: |
echo "Working directory: $(pwd)"
cd khelo
echo "Working directory: $(pwd)"
firebase deploy --only functions --non-interactive --debug
- name: Remove credentials file
Expand Down

0 comments on commit 78598db

Please sign in to comment.