Skip to main content
Deno 2 is finally here 🎉️
Learn more

Fly Pipeline

fluentci pipeline deno module deno compatibility

A ready-to-use CI/CD Pipeline for deploying your applications to Fly.io.

🚀 Usage

Run the following command in your project:

fluentci run fly_pipeline

Or, if you want to use it as a template:

fluentci init -t fly

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

Dagger Module

Use as a Dagger Module:

dagger mod install github.com/fluent-ci-templates/fly-pipeline@mod

Environment Variables

Variable Description
FLY_API_TOKEN Your Fly API token.

Jobs

Job Description
deploy Deploys your application to Fly.
deploy(
  src: Directory | string,
  token: Secret | string
): Promise<string>

Programmatic usage

You can also use this pipeline programmatically:

import { deploy } from "https://pkg.fluentci.io/fly_pipeline@v0.7.0/mod.ts";

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