From 9395fe33023a6bb182c63f50857a80c0bd0a17fb Mon Sep 17 00:00:00 2001 From: ManDeep Singh Date: Thu, 10 Oct 2024 10:30:31 +0000 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index bfeeb2b..94a95dd 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,7 +13,7 @@ jobs: build: runs-on: ubuntu-latest - environment: ${{ vars.ENVIRONMENT_STAGE }} + environment: production strategy: matrix: @@ -28,9 +28,14 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - name: display env variables + - env: + NEXT_PUBLIC_CONVEX_URL: ${{ vars.NEXT_PUBLIC_CONVEX_URL }} + NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} + CONVEX_DEPLOYMENT: ${{ vars.CONVEX_DEPLOYMENT }} run: | - echo "Convex var: ${{ vars.NEXT_PUBLIC_CONVEX_URL }}" - echo "Clerk var: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }}" + echo "Convex var: $NEXT_PUBLIC_CONVEX_URL" + echo "Clerk var: $NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY" + echo "Covex deployment: $CONVEX_DEPLOYMENT" - name: create env file run: | touch .env