From e762fba9faa27d326b3b959f4bbadb3446943b5b Mon Sep 17 00:00:00 2001 From: developomp Date: Sun, 27 Feb 2022 10:55:37 +0900 Subject: [PATCH] moved a step to its correct position --- .github/workflows/functions.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/functions.yml b/.github/workflows/functions.yml index dd81206..d11a74b 100644 --- a/.github/workflows/functions.yml +++ b/.github/workflows/functions.yml @@ -24,6 +24,11 @@ jobs: - name: Install Dependencies run: npm --prefix functions install + - name: Restore secrets + run: | + echo ${{ secrets.SECRET_JSON }} > ./functions/src/secret.json + echo ${{ secrets.FIREBASE_ADMINSDK_JSON }} > ./functions/src/firebase-adminsdk.json + - name: Build run: npm --prefix functions run build @@ -47,11 +52,6 @@ jobs: name: functions_lib path: functions/lib - - name: Restore secrets - run: | - echo ${{ secrets.SECRET_JSON }} > ./functions/src/secret.json - echo ${{ secrets.FIREBASE_ADMINSDK_JSON }} > ./functions/src/firebase-adminsdk.json - - name: Deploy to Firebase uses: w9jds/firebase-action@master with: