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 78598db commit e607a90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/function_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
FIREBASE_JSON_BASE64: ${{ secrets.FIREBASE_JSON_BASE64 }}
run: |
cd khelo
echo $GOOGLE_APPLICATION_CREDENTIALS | base64 -di > functions/google-application-credentials.json
echo $GOOGLE_APPLICATION_CREDENTIALS | base64 -di > google-application-credentials.json
echo $FIREBASE_JSON_BASE64 | base64 --decode > firebase.json
- name: Deploy Firebase functions
Expand All @@ -61,4 +61,5 @@ jobs:
- name: Remove credentials file
if: success() || failure()
run: |
rm functions/google-application-credentials.json
cd khelo
rm google-application-credentials.json

0 comments on commit e607a90

Please sign in to comment.