v0.7.4
A ready-to-use CI/CD Pipeline for deploying your Rust applications to Shuttle.
Attributes
Includes Deno configuration
Repository
Current version released
9 months ago
Dependencies
deno.land/x
other
skypack.dev
lodash
Shuttle Pipeline
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.37 |
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 "https://pkg.fluentci.io/shuttle_pipeline@v0.7.4/mod.ts";
await deploy(".");