From 4ec05a26fff18b3b0fdcfe2c4fbdb9e18dac7989 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Mon, 18 Dec 2023 08:15:53 +0000 Subject: [PATCH] use supabase@1.124.2 --- example/.fluentci/src/dagger/jobs.ts | 8 ++++---- src/dagger/jobs.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/example/.fluentci/src/dagger/jobs.ts b/example/.fluentci/src/dagger/jobs.ts index 71873da..24c0749 100644 --- a/example/.fluentci/src/dagger/jobs.ts +++ b/example/.fluentci/src/dagger/jobs.ts @@ -49,7 +49,7 @@ export async function deploy( "install", `node@${NODE_VERSION}`, `bun@${BUN_VERSION}`, - "supabase", + "supabase@1.124.2", ]) .withEnvVariable("PATH", "/root/.bun/bin:$PATH", { expand: true }) .withDirectory("/app", context) @@ -57,11 +57,11 @@ export async function deploy( .withSecretVariable("SUPABASE_ACCESS_TOKEN", secret) .withExec([ "supabase", - "link", + "functions", + "deploy", "--project-ref", Deno.env.get("PROJECT_ID") || projectId!, - ]) - .withExec(["supabase", "functions", "deploy", "--debug"]); + ]); result = await ctr.stdout(); }); diff --git a/src/dagger/jobs.ts b/src/dagger/jobs.ts index 71873da..24c0749 100644 --- a/src/dagger/jobs.ts +++ b/src/dagger/jobs.ts @@ -49,7 +49,7 @@ export async function deploy( "install", `node@${NODE_VERSION}`, `bun@${BUN_VERSION}`, - "supabase", + "supabase@1.124.2", ]) .withEnvVariable("PATH", "/root/.bun/bin:$PATH", { expand: true }) .withDirectory("/app", context) @@ -57,11 +57,11 @@ export async function deploy( .withSecretVariable("SUPABASE_ACCESS_TOKEN", secret) .withExec([ "supabase", - "link", + "functions", + "deploy", "--project-ref", Deno.env.get("PROJECT_ID") || projectId!, - ]) - .withExec(["supabase", "functions", "deploy", "--debug"]); + ]); result = await ctr.stdout(); });