Skip to content

Commit

Permalink
Format yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Mar 26, 2024
1 parent 8be227d commit 7f243b4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "20.x"
- env:

- name: Set up environment and build for admin
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 }}
Expand All @@ -21,7 +23,7 @@ jobs:
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: |
run: |
cd admin
npm install
npm run build
Expand All @@ -33,10 +35,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "20.x"
- env:

- name: Set up environment and build for website
env:
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
- run: |
run: |
cd website
npm install
npm run build

0 comments on commit 7f243b4

Please sign in to comment.