From 27bbb63367caa03288f3a76b20504eb857ce5222 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Mon, 18 Dec 2023 11:35:12 +0000 Subject: [PATCH] use supabase@1.115.1 --- example/.fluentci/src/dagger/jobs.ts | 9 +-------- src/dagger/jobs.ts | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/example/.fluentci/src/dagger/jobs.ts b/example/.fluentci/src/dagger/jobs.ts index acdb5c5..fa3d116 100644 --- a/example/.fluentci/src/dagger/jobs.ts +++ b/example/.fluentci/src/dagger/jobs.ts @@ -49,23 +49,16 @@ export async function deploy( "install", `node@${NODE_VERSION}`, `bun@${BUN_VERSION}`, - "supabase", + "supabase@1.115.1", ]) .withEnvVariable("PATH", "/root/.bun/bin:$PATH", { expand: true }) .withDirectory("/app", context) .withWorkdir("/app") .withSecretVariable("SUPABASE_ACCESS_TOKEN", secret) - .withExec([ - "supabase", - "link", - "--project-ref", - Deno.env.get("PROJECT_ID") || projectId!, - ]) .withExec([ "supabase", "functions", "deploy", - "--debug", "--project-ref", Deno.env.get("PROJECT_ID") || projectId!, ]); diff --git a/src/dagger/jobs.ts b/src/dagger/jobs.ts index acdb5c5..fa3d116 100644 --- a/src/dagger/jobs.ts +++ b/src/dagger/jobs.ts @@ -49,23 +49,16 @@ export async function deploy( "install", `node@${NODE_VERSION}`, `bun@${BUN_VERSION}`, - "supabase", + "supabase@1.115.1", ]) .withEnvVariable("PATH", "/root/.bun/bin:$PATH", { expand: true }) .withDirectory("/app", context) .withWorkdir("/app") .withSecretVariable("SUPABASE_ACCESS_TOKEN", secret) - .withExec([ - "supabase", - "link", - "--project-ref", - Deno.env.get("PROJECT_ID") || projectId!, - ]) .withExec([ "supabase", "functions", "deploy", - "--debug", "--project-ref", Deno.env.get("PROJECT_ID") || projectId!, ]);