Skip to content

Commit

Permalink
fix deploy script to ensure it builds with the backend (#92) (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelCenzano authored Dec 19, 2024
1 parent 6e2e2ec commit 1594fd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1594fd4

Please sign in to comment.