Skip to content

Commit 617f749

Browse files
refactor: define backend environment variables directly in CI workflow instead of using an env file.
1 parent a299791 commit 617f749

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ jobs:
3131
pip install -r backend/requirements.txt
3232
3333
- name: Start Backend
34-
env_file:
35-
- ./backend/.env
34+
env:
35+
MONGO_URI: mongodb://localhost:27017
36+
SECRET_KEY: test-secret
3637
run: |
3738
cd backend
3839
uvicorn app.main:app --host 0.0.0.0 --port 8000 &

0 commit comments

Comments
 (0)