Skip to content

Commit 2d04d48

Browse files
committed
Add supabase URL and anon key
1 parent 31103d1 commit 2d04d48

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: 'main'
5+
branches: "main"
66

77
jobs:
88
build_site:
@@ -42,7 +42,9 @@ jobs:
4242
4343
- name: Build
4444
env:
45-
BASE_PATH: '/${{ github.event.repository.name }}'
45+
BASE_PATH: "/${{ github.event.repository.name }}"
46+
VITE_SUPABASE_URL: ${{ vars.VITE_SUPABASE_URL }}
47+
VITE_SUPABASE_ANON_KEY: ${{ vars.VITE_SUPABASE_ANON_KEY }}
4648
run: |
4749
cd app
4850
pnpm build
@@ -51,7 +53,7 @@ jobs:
5153
uses: actions/upload-pages-artifact@v3
5254
with:
5355
# this should match the `pages` option in your adapter-static options
54-
path: 'app/build/'
56+
path: "app/build/"
5557

5658
deploy:
5759
needs: build_site
@@ -68,4 +70,4 @@ jobs:
6870
steps:
6971
- name: Deploy
7072
id: deployment
71-
uses: actions/deploy-pages@v4
73+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)