Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deploy script to ensure it builds with the backend (#92) #93

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading