From 9916f0d7900615b8c59e8fcd440ce833d24d072e Mon Sep 17 00:00:00 2001 From: Shubhadip Bhowmik Date: Thu, 30 May 2024 10:20:56 +0530 Subject: [PATCH] Github Action CI/CD Configuration Updated --- .github/workflows/deploy-to-github-pages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy-to-github-pages.yml b/.github/workflows/deploy-to-github-pages.yml index 1e087dfa7..dc91683ee 100644 --- a/.github/workflows/deploy-to-github-pages.yml +++ b/.github/workflows/deploy-to-github-pages.yml @@ -38,6 +38,11 @@ jobs: cache: npm - name: Install dependencies run: npm ci + + # Inject environment variables from .env file + - name: Set up environment variables + run: echo "CHAT_API_KEY='${{ secrets.CHAT_API_KEY }}'" >> .env + - name: Build run: npm run build - name: Setup Pages