From d6ca39817d0e435860bd4d9732abd2983c0fc140 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Sun, 20 Dec 2020 21:51:25 +0530 Subject: [PATCH] fix build and deploy script --- .github/workflows/build-and-deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index b01e52bc..94cdf189 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -16,6 +16,15 @@ jobs: run: npm install - name: Build run: npm run build + env: + FIREBASE_APIKEY: ${{ secrets.FIREBASE_APIKEY }} + FIREBASE_APPID: ${{ secrets.FIREBASE_APPID }} + FIREBASE_AUTHDOMAIN: ${{ secrets.FIREBASE_AUTHDOMAIN }} + FIREBASE_DATABASEURL: ${{ secrets.FIREBASE_DATABASEURL }} + FIREBASE_MEASUREMENTID: ${{ secrets.FIREBASE_MEASUREMENTID }} + FIREBASE_MESSAGINGSENDERID: ${{ secrets.FIREBASE_MESSAGINGSENDERID }} + FIREBASE_PROJECTID: ${{ secrets.FIREBASE_PROJECTID }} + FIREBASE_STORAGEBUCKET: ${{ secrets.FIREBASE_STORAGEBUCKET }} - name: Deploy to Firebase uses: w9jds/firebase-action@master with: