From dcf5588d55db557fa09e2e8ece6c30b258b89e1d Mon Sep 17 00:00:00 2001 From: Jamie Brunton Date: Sat, 24 Jan 2026 21:42:18 +0000 Subject: [PATCH] Fix functions deploy to run from apps/supabase directory Supabase CLI expects functions in supabase/functions/ relative to workdir. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/deploy-supabase.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-supabase.yml b/.github/workflows/deploy-supabase.yml index b22c178..d90ab0f 100644 --- a/.github/workflows/deploy-supabase.yml +++ b/.github/workflows/deploy-supabase.yml @@ -66,9 +66,10 @@ jobs: fi - name: Deploy Edge Functions + working-directory: apps/supabase run: | # Deploy all edge functions (excluding _shared directory) - for dir in apps/supabase/functions/*/; do + for dir in functions/*/; do function_name=$(basename "$dir") # Skip _shared directory (it's a shared module, not a function)