From 6f3297378dfe39f64400bb248cd227d568a25524 Mon Sep 17 00:00:00 2001 From: Ho Tien Duc Date: Fri, 28 Jun 2024 14:02:43 -0600 Subject: [PATCH] Update firebase-hosting-pull-request.yml Added secrets to env during GitHub Action --- .github/workflows/firebase-hosting-pull-request.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 51c6c45..ee87138 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -3,6 +3,8 @@ name: Deploy to Firebase Hosting on PR 'on': pull_request +env: + VITE_FIREBASE_CONFIG: ${{ secrets.VITE_FIREBASE_CONFIG}} jobs: build_and_preview: if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'