Skip to main content

Built and signed on GitHub Actions

🧩 A ready to use CI/CD Pipeline for deploying applications to shuttle.rs

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
64%
Published
a year ago (0.8.1)

Shuttle Pipeline

fluentci pipeline deno module deno compatibility

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

🚀 Usage

Run the following command:

fluentci run shuttle_pipeline

🧩 Dagger Module

Use as a Dagger Module:

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

Call deploy function from this module:

dagger call deploy --src . --api-key SHUTTLE_API_KEY

🛠️ Environment Variables

Variable Description
SHUTTLE_API_KEY Your Shuttle API key
SHUTTLE_VERSION The version of cargo shuttle, defaults to v0.39.0

✨ Jobs

Job Description
deploy Deploy your Rust application to shuttle.rs.
 deploy(
  src: string | Directory | undefined = ".",
  apiKey?: string | Secret,
  shuttleVersion?: string,
): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

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

await deploy(".");
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@fluentci/shuttle

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @fluentci/shuttle

Import symbol

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

Add Package

yarn dlx jsr add @fluentci/shuttle

Import symbol

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

Add Package

pnpm dlx jsr add @fluentci/shuttle

Import symbol

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

Add Package

bunx jsr add @fluentci/shuttle

Import symbol

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