Skip to main content
The Deno 2 Release Candidate is here
Learn more

Shuttle Pipeline

deno module deno compatibility

A ready-to-use CI/CD Pipeline for deploying your Rust applications to Shuttle.

🚀 Usage

Run the following command:

dagger run fluentci shuttle_pipeline

Environment Variables

Variable Description
SHUTTLE_API_KEY Your Shuttle API key

Jobs

Job Description
deploy Deploy your Rust application to shuttle.rs.

Programmatic usage

You can also use this pipeline programmatically:

import { Client, connect } from "https://esm.sh/@dagger.io/dagger@0.8.1";
import { Dagger } from "https://deno.land/x/shuttle_pipeline/mod.ts";

const { deploy } = Dagger;

function pipeline(src = ".") {
  connect(async (client: Client) => {
    await deploy(client, src);
  });
}

pipeline();