From e607a906c46e055de01f0e525cf6e3aaa61bea80 Mon Sep 17 00:00:00 2001 From: sidhdhi canopas Date: Mon, 9 Sep 2024 11:54:10 +0530 Subject: [PATCH] refactor --- .github/workflows/function_deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/function_deploy.yml b/.github/workflows/function_deploy.yml index 2e830358..bf41baa0 100644 --- a/.github/workflows/function_deploy.yml +++ b/.github/workflows/function_deploy.yml @@ -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 @@ -61,4 +61,5 @@ jobs: - name: Remove credentials file if: success() || failure() run: | - rm functions/google-application-credentials.json \ No newline at end of file + cd khelo + rm google-application-credentials.json \ No newline at end of file