Skip to content

Commit

Permalink
use supabase@1.115.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Dec 18, 2023
1 parent ea9b4e2 commit 27bbb63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions example/.fluentci/src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!,
]);
Expand Down
9 changes: 1 addition & 8 deletions src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!,
]);
Expand Down

0 comments on commit 27bbb63

Please sign in to comment.