Skip to main content

Shuttle

Run the following command to run the pre-built Shuttle Pipeline in your project to deploy your Rust application to Shuttle:

fluentci run shuttle deploy

Environment Variables

VariableDescription
SHUTTLE_API_KEYYour Shuttle API key

Jobs

JobDescription
deployDeploy your Rust application to shuttle.rs.

Programmatic usage

You can also use this pipeline programmatically:

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

await deploy();

CI/CD pipeline integrations

The following examples show how to integrate FluentCI with popular CI providers to deploy applications to Shuttle:

ci.yml
name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
- name: deploy
run: fluentci run --wasm shuttle deploy
env:
SHUTTLE_API_KEY: ${{ secrets.SHUTTLE_API_KEY }}