From 90b492c95093c7696a053269051767501ada0e4a Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Wed, 11 Mar 2026 22:01:23 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20.gitea/workflows/deploy-functions?= =?UTF-8?q?-desarrollo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy-functions-desarrollo | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/deploy-functions-desarrollo diff --git a/.gitea/workflows/deploy-functions-desarrollo b/.gitea/workflows/deploy-functions-desarrollo new file mode 100644 index 0000000..dd8bc5e --- /dev/null +++ b/.gitea/workflows/deploy-functions-desarrollo @@ -0,0 +1,27 @@ +name: Deploy Function + +on: + push: + branches: + - main + paths: + - 'supabase/**' + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + env: + SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_DESARROLLO_ACCESS_TOKEN }} + SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_DESARROLLO_PROJECT_ID }} + + steps: + - uses: actions/checkout@v3 + + - uses: supabase/setup-cli@v1 + with: + version: latest + + - name: Deploy edge function + run: npx supabase@beta functions deploy --project-ref $SUPABASE_PROJECT_ID --use-api \ No newline at end of file