From bdffdc6dcb9b8ff7faec07be32a071b560d522d5 Mon Sep 17 00:00:00 2001 From: ProgrammerXD Date: Sat, 20 Jan 2024 14:16:51 +0530 Subject: [PATCH] Adding environment variables --- .github/workflows/npm-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 7c3b2fb..ab51b9c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 @@ -48,4 +47,4 @@ jobs: - run: | pm2 restart backendserver - # Use $MONGODB_URI in your Node.js application +