Skip to content

Commit

Permalink
🌭🐲 ↝ [SSG-29]: Update the env, just want to test this out
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Oct 5, 2024
1 parent 0034666 commit 1828fb8
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,23 @@ on:
jobs:
build:
runs-on: ubuntu-latest
name: Build Next.js App

steps:
- name: Checkout repository
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '16'

- name: Install dependencies
run: yarn install
env:
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}

- name: Build the app
run: yarn build

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: nextjs-build
path: .next
env:
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}

0 comments on commit 1828fb8

Please sign in to comment.