Skip to content

Commit 7451ecf

Browse files
committed
gh workflow wip
1 parent 4dcbd4c commit 7451ecf

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)