Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 1.93 KB

README.md

File metadata and controls

76 lines (52 loc) · 1.93 KB

Fly Pipeline

fluentci pipeline deno module deno compatibility dagger-min-version ci

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 install github.com/fluent-ci-templates/fly-pipeline@main

Call a function from the module:

dagger call deploy --src . --token env:FLY_API_TOKEN

🛠️ 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 "jsr:@fluentci/fly";

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