Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add GitHub action to deploy Supabase Edge functions
Jakub Novákc70331c5ae04
diff --git a/.github/workflows/supabase.yml b/.github/workflows/supabase.ymlnew file mode 100644index 000000000..291b36398--- /dev/null+++ b/.github/workflows/supabase.yml@@ -0,0 +1,36 @@+name: Deploy Supabase Edge functions++on:+ push:+ paths:+ - 'supabase/functions/**'+ - '.github/workflows/supabase.yml'+ branches:+ - production++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++permissions:+ contents: read++env:+ SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}+ SUPABASE_PROJECT_ID: ${{ vars.SUPABASE_PROJECT_ID }}++jobs:+ deploy:+ name: Deploy+ runs-on: ubuntu-20.04+ steps:+ - name: Checkout repository+ uses: actions/checkout@v3++ - name: Setup Supabase CLI+ uses: supabase/setup-cli@v1+ with:+ version: latest++ - name: Deploy supabase edge functions+ run: supabase functions deploy --project-ref "$SUPABASE_PROJECT_ID"diff --git a/supabase/config.toml b/supabase/config.tomlindex 45d819660..f23c10480 100644--- a/supabase/config.toml+++ b/supabase/config.toml@@ -70,3 +70,6 @@ redirect_uri = ""# Overrides the default auth provider URL. Used to support self-hosted gitlab, single-tenant Azure,# or any other third-party OIDC providers.url = ""++[functions.new_user]+verify_jwt = false