supabase
Deploy to Supabase Edge Functions
Installation
dagger install github.com/fluent-ci-templates/supabase-pipeline@v0.5.1Entrypoint
Return Type
SupabaseExample
dagger -m github.com/fluent-ci-templates/supabase-pipeline@22f537af48c18ead99962e48a1e1f567568a31aa call \
func (m *MyModule) Example() *dagger.Supabase  {
	return dag.
			Supabase()
}@function
def example() -> dagger.Supabase:
	return (
		dag.supabase()
	)@func()
example(): Supabase {
	return dag
		.supabase()
}Types
Supabase 🔗
deploy() 🔗
Deploy to Supabase Edge Functions
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| src | Directory ! | - | The directory to deploy | 
| token | Secret ! | - | Supabase access token | 
| projectId | String ! | - | The Supabase project ID | 
Example
dagger -m github.com/fluent-ci-templates/supabase-pipeline@22f537af48c18ead99962e48a1e1f567568a31aa call \
 deploy --src DIR_PATH --token env:MYSECRET --project-id stringfunc (m *MyModule) Example(ctx context.Context, src *dagger.Directory, token *dagger.Secret, projectId string) string  {
	return dag.
			Supabase().
			Deploy(ctx, src, token, projectId)
}@function
async def example(src: dagger.Directory, token: dagger.Secret, project_id: str) -> str:
	return await (
		dag.supabase()
		.deploy(src, token, project_id)
	)@func()
async example(src: Directory, token: Secret, projectId: string): Promise<string> {
	return dag
		.supabase()
		.deploy(src, token, projectId)
}