Skip to main content

Built and signed on GitHub Actions

🧩 A ready to use CI/CD Pipeline for deploying functions to Supabase

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
76%
Published
10 months ago (0.6.0)

Supabase Pipeline

fluentci pipeline deno compatibility dagger-min-version ci

A ready-to-use CI/CD Pipeline for deploying your application to Supabase Edge Functions.

🚀 Usage

Run the following command:

fluentci run supabase_pipeline

🧩 Dagger Module

Use as a Dagger Module:

dagger install github.com/fluent-ci-templates/supabase-pipeline@main

Call a function from the module:

dagger -m github.com/fluent-ci-templates/supabase-pipeline@main call \
  deploy --src . \
  --token env:SUPABASE_ACCESS_TOKEN \
  --projectId $PROJECT_ID

🛠️ Environment Variables

Variable Description
SUPABASE_ACCESS_TOKEN Your Supabase Access Token
PROJECT_ID Your Supabase Project ID

✨ Jobs

Job Description
deploy Deploy functions to Supabase Edge Functions
deploy(
  src: Directory | string,
  token: Secret | string,
  projectId: string
): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { deploy } from "jsr:@fluentci/supabase";

await deploy(
    ".", 
    Deno.env.get("SUPABASE_ACCESS_TOKEN")!, 
    Deno.env.get("PROJECT_ID")!
);

Built and signed on
GitHub Actions
View transparency log

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fluentci/supabase

Import symbol

import * as supabase from "@fluentci/supabase";
or

Import directly with a jsr specifier

import * as supabase from "jsr:@fluentci/supabase";

Add Package

pnpm i jsr:@fluentci/supabase
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fluentci/supabase

Import symbol

import * as supabase from "@fluentci/supabase";

Add Package

yarn add jsr:@fluentci/supabase
or (using Yarn 4.8 or older)
yarn dlx jsr add @fluentci/supabase

Import symbol

import * as supabase from "@fluentci/supabase";

Add Package

npx jsr add @fluentci/supabase

Import symbol

import * as supabase from "@fluentci/supabase";

Add Package

bunx jsr add @fluentci/supabase

Import symbol

import * as supabase from "@fluentci/supabase";