From 7ca800d473479d3f20660e440298bcc1f73147b0 Mon Sep 17 00:00:00 2001 From: Hermann EHO Date: Thu, 8 Feb 2024 12:10:37 +0000 Subject: [PATCH] feat: Add VITE_BACKEND_ENDPOINT environment variable to build step --- .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 d7efdc4..feaf7bb 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -14,6 +14,8 @@ jobs: - name: 💻 Build run: npm install && npm run build working-directory: ./frontend + env: + VITE_BACKEND_ENDPOINT: ${{ secrets.VITE_BACKEND_ENDPOINT }} - uses: FirebaseExtended/action-hosting-deploy@v0 with: