From c34e43685f5df12656b964a354530fc7dbde6c8f Mon Sep 17 00:00:00 2001 From: sidhdhi canopas Date: Mon, 9 Sep 2024 10:58:27 +0530 Subject: [PATCH] refactor --- .github/workflows/function_deploy.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/function_deploy.yml b/.github/workflows/function_deploy.yml index 8f9de4f3..44f4eff5 100644 --- a/.github/workflows/function_deploy.yml +++ b/.github/workflows/function_deploy.yml @@ -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 @@ -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: | @@ -74,4 +68,4 @@ jobs: - name: Remove credentials file if: success() || failure() run: | - rm functions/google-application-credentials.json \ No newline at end of file + rm google-application-credentials.json \ No newline at end of file