Skip to content

Commit

Permalink
Update actions.ts
Browse files Browse the repository at this point in the history
Update to include supabase cred.
  • Loading branch information
amber buchtela authored Sep 29, 2024
1 parent a9c965d commit dd649bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sdk/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,13 @@ export async function createActionsPlugin<TConfig = unknown, TEnv = unknown, TSu
config: config,
env: env,
logger: new Logs(pluginOptions.logLevel),
supabaseUrl: process.env.SUPABASE_URL,
supabaseKey: process.env.SUPABASE_KEY,
};

// Log to ensure Supabase credentials are loaded
context.logger.info("Supabase credentials have been configured successfully.");

try {
const result = await handler(context);
core.setOutput("result", result);
Expand Down

0 comments on commit dd649bb

Please sign in to comment.