Skip to content

Commit

Permalink
Ajoute du CD vers Supabase
Browse files Browse the repository at this point in the history
  • Loading branch information
guillett committed Sep 17, 2024
1 parent b7e350e commit 3183fe5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
File renamed without changes.
24 changes: 24 additions & 0 deletions .github/workflows/cd-supabase.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
PROJECT_ID: gxtooxtkkcpblccexeyl

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 3183fe5

Please sign in to comment.