Skip to content

Commit

Permalink
Adding environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
realpxd authored Jan 20, 2024
1 parent cdeb325 commit bdffdc6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ jobs:
node-version: [18.x]

env:
MONGODB_URI: ${{ secrets.ATLAS_URI }}
# Add other environment variables as needed

ATLAS_URI: ${{ secrets.ATLAS_URI }}

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -48,4 +47,4 @@ jobs:

- run: |
pm2 restart backendserver
# Use $MONGODB_URI in your Node.js application

0 comments on commit bdffdc6

Please sign in to comment.