init commit,
This commit is contained in:
24
99_references/supabase-examples/edge-functions/.github/workflows/deploy.yaml
vendored
Normal file
24
99_references/supabase-examples/edge-functions/.github/workflows/deploy.yaml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Deploy Function
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
|
||||
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: supabase/setup-cli@v1
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- run: supabase functions deploy --project-ref $SUPABASE_PROJECT_ID
|
Reference in New Issue
Block a user