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 d016835 commit 7333065
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/function_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
with:
node-version: 18

- name: Cache Dependencies
uses: actions/cache@v3
- uses: actions/cache@v3
name: Cache Dependencies
id: cache-dependencies
with:
path: |
Expand All @@ -41,26 +41,16 @@ jobs:
run: |
npm ci
- name: Print Working Directory
run: |
echo "Working directory: $(pwd)"
- name: Install Firebase CLI
run: npm install -g firebase-tools

- name: Print Working Directory
run: |
echo "Working directory: $(pwd)"
- name: Prepare Google Application Credentials
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
run: |
cd khelo
echo $GOOGLE_APPLICATION_CREDENTIALS | base64 -di > functions/google-application-credentials.json
echo "Credentials file saved at:"
pwd
ls -la functions/google-application-credentials.json
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/functions/google-application-credentials.json
- name: Use Firebase Dev
run: |
Expand Down

0 comments on commit 7333065

Please sign in to comment.