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 b963310 commit c34e436
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/function_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,14 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Print Working Directory
run: |
echo "Working directory: $(pwd)"
ls -a
- name: Install Dependencies
working-directory: functions
working-directory: khelo/functions
run: |
npm ci
- name: Print Working Directory
run: |
echo "Working directory: $(pwd)"
echo ls -a
- name: Install Firebase CLI
run: npm install -g firebase-tools
Expand All @@ -62,7 +56,7 @@ jobs:
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
run: |
echo $GOOGLE_APPLICATION_CREDENTIALS | base64 -di > functions/google-application-credentials.json
echo $GOOGLE_APPLICATION_CREDENTIALS | base64 -di > google-application-credentials.json
- name: Use Firebase Dev
run: |
Expand All @@ -74,4 +68,4 @@ jobs:
- name: Remove credentials file
if: success() || failure()
run: |
rm functions/google-application-credentials.json
rm google-application-credentials.json

0 comments on commit c34e436

Please sign in to comment.