Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsingh132 authored Oct 10, 2024
1 parent 1ee03e2 commit 9395fe3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:

runs-on: ubuntu-latest
environment: ${{ vars.ENVIRONMENT_STAGE }}
environment: production

strategy:
matrix:
Expand All @@ -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
Expand Down

0 comments on commit 9395fe3

Please sign in to comment.