From e70a879ae3fa96a7b302bc24802260168ad055f7 Mon Sep 17 00:00:00 2001 From: Rafael Cenzano <32753063+RafaelCenzano@users.noreply.github.com> Date: Wed, 18 Dec 2024 21:25:34 -0500 Subject: [PATCH] fix deploy script to ensure it builds with the backend (#92) --- .github/workflows/docker-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-deploy.yml b/.github/workflows/docker-deploy.yml index 90f503e8..39e4dd41 100644 --- a/.github/workflows/docker-deploy.yml +++ b/.github/workflows/docker-deploy.yml @@ -24,10 +24,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Build React App + env: # If using this frontend for your own usecase change this backend url to your backend url + REACT_APP_BACKEND_SERVER: "https://api.labconnect.cs.rpi.edu" run: | npm ci --legacy-peer-deps CI=false - REACT_APP_BACKEND_SERVER="https://api.labconnect.cs.rpi.edu" npm run build # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry