Skip to content

Commit

Permalink
added secrets to gihub
Browse files Browse the repository at this point in the history
  • Loading branch information
kunal-511 committed Oct 13, 2024
1 parent 621d72a commit 5d416a6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,16 @@ jobs:
- name: Build frontend
run: npm run build --prefix frontend

# Step 5: Run backend server (development)
# Step 5: Run backend server (development)
- name: Start backend server
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
PORT: ${{ secrets.PORT }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
CLOUDINARY_CLOUD_NAME: ${{ secrets.CLOUDINARY_CLOUD_NAME }}
CLOUDINARY_API_KEY: ${{ secrets.CLOUDINARY_API_KEY }}
CLOUDINARY_API_SECRET: ${{ secrets.CLOUDINARY_API_SECRET }}
NODE_ENV: development
run: npm run dev

# Optional: Add a step to run tests (if you have test scripts)
Expand Down
5 changes: 4 additions & 1 deletion frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5d416a6

Please sign in to comment.