Skip to content

Commit

Permalink
Set env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Mar 26, 2024
1 parent c68bc7a commit 8be227d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "20.x"
- env:
NEXT_PUBLIC_ADMIN_BASE_URL: ${{ secrets.ADMIN_BASE_URL }}
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
NEXT_PUBLIC_JWT_SECRET: ${{ secrets.JWT_SECRET }}
NEXT_PUBLIC_CRYPTO_SECRET: ${{ secrets.CRYPTO_SECRET }}
NEXT_PUBLIC_AWS_REGION: ${{ secrets.AWS_REGION }}
NEXT_PUBLIC_AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
NEXT_PUBLIC_AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
NEXT_PUBLIC_SUPABASE_STORAGE_URL: ${{ secrets.SUPABASE_STORAGE_URL }}
- run: |
cd admin
npm install
Expand All @@ -23,6 +33,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "20.x"
- env:
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
- run: |
cd website
npm install
Expand Down

0 comments on commit 8be227d

Please sign in to comment.