From 95e46b6e7d8107a823696f4823ffba40118bbbb4 Mon Sep 17 00:00:00 2001 From: eternaltyro Date: Wed, 17 Apr 2024 11:32:48 +0100 Subject: [PATCH] Add env var for frontend build --- .github/workflows/frontend_build_push.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/frontend_build_push.yml b/.github/workflows/frontend_build_push.yml index 87ec2624..79b01c75 100644 --- a/.github/workflows/frontend_build_push.yml +++ b/.github/workflows/frontend_build_push.yml @@ -39,6 +39,10 @@ jobs: - name: Build frontend run: cd frontend/ && npm run build + env: + REACT_APP_API_BASE: ${{ vars.REACT_APP_API_BASE }} + REACT_APP_PREDICTOR_API_BASE: ${{ vars.REACT_APP_PREDICTOR_API_BASE }} + REACT_APP_ENV: Dev - name: Authenticate to AWS uses: aws-actions/configure-aws-credentials@v4