From e5505c7488fcab1548d339cea6b436c23fd9ccd5 Mon Sep 17 00:00:00 2001 From: Nestor Amesty Date: Tue, 30 Jan 2024 14:01:57 +0100 Subject: [PATCH] Removed non necessary ENV vars from workers CI + exposed NextAuth schema --- web/supabase/config.toml | 2 +- workers/serverless.dev.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/web/supabase/config.toml b/web/supabase/config.toml index ec1b80c..05453c0 100644 --- a/web/supabase/config.toml +++ b/web/supabase/config.toml @@ -8,7 +8,7 @@ enabled = true port = 54321 # Schemas to expose in your API. Tables, views and stored procedures in this schema will get API # endpoints. public and storage are always included. -schemas = ["public", "storage", "graphql_public", "indexing"] +schemas = ["public", "storage", "graphql_public", "indexing", "next_auth"] # Extra schemas to add to the search_path of every request. public is always included. extra_search_path = ["public", "extensions"] # The maximum number of rows returns from a view, table, or stored procedure. Limits payload size diff --git a/workers/serverless.dev.yml b/workers/serverless.dev.yml index 3ccd389..2014a66 100644 --- a/workers/serverless.dev.yml +++ b/workers/serverless.dev.yml @@ -22,8 +22,6 @@ provider: RESEND_API_KEY: ${env:DEV_RESEND_API_KEY} NEXT_PUBLIC_SUPABASE_URL: ${env:DEV_NEXT_PUBLIC_SUPABASE_URL} NEXT_PUBLIC_SUPABASE_ANON_KEY: ${env:DEV_NEXT_PUBLIC_SUPABASE_ANON_KEY} - SUPABASE_JWT_SECRET: ${env:DEV_SUPABASE_JWT_SECRET} - NEXTAUTH_SECRET: ${env:DEV_NEXTAUTH_SECRET} SUPABASE_SERVICE_ROLE_KEY: ${env:DEV_SUPABASE_SERVICE_ROLE_KEY} custom: