Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
herbpot authored Sep 28, 2024
1 parent 17950c8 commit aee7adf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ jobs:
mongodb-replica-set: test-rs
mongodb-port: 27017

- name: Generate Environment Variables File for Production
run: |
echo "MONGO_URI=$MONGO_URI" >> .env.production
echo "SECRETKEY=$SECRETKEY" >> .env.production
echo "API_KEY=$API_KEY" >> .env.production
echo "PORT=$PORT" >> .env.production
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
SECRETKEY: ${{ secrets.SECRETKEY }}
API_KEY: ${{ secrets.API_KEY}}
PORT: ${{ secrets.PORT }}


- name: Install dependencies
run: npm install

Expand Down

0 comments on commit aee7adf

Please sign in to comment.