Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 5907f31

Browse files
add workflow for netlify deployment
1 parent 3fa562f commit 5907f31

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy-netlify.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: '18'
19+
node-version: '18' # or '20'
2020

2121
- name: Install dependencies
2222
run: npm install
2323

2424
- name: Build the project
2525
run: npm run build
26+
env:
27+
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
28+
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
2629

2730
- name: Deploy to Netlify
2831
env:

0 commit comments

Comments
 (0)