Skip to content

Commit 57411e9

Browse files
committed
deploy action
1 parent b02b30f commit 57411e9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
env:
14+
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
15+
PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: supabase/setup-cli@v1
21+
with:
22+
version: latest
23+
24+
- run: supabase functions deploy --project-ref $PROJECT_ID

0 commit comments

Comments
 (0)