Skip to content

Commit

Permalink
Set up edge function deployment 🤞
Browse files Browse the repository at this point in the history
  • Loading branch information
yannikinniger committed Nov 1, 2024
1 parent ac1722e commit 12179c8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy Supabse Edge Functions

on:
push:
branches:
- main
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest

env:
SUPABASE_ACCESS_TOKEN: SUPABASE_ACCESS_TOKEN
PROJECT_ID: SUPABASE_PROJECT_ID

steps:
- uses: actions/checkout@v3
- uses: supabase/setup-cli@v1
with:
version: latest
- run: supabase functions deploy --project-ref $PROJECT_ID

0 comments on commit 12179c8

Please sign in to comment.