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
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://sdk.fluentci.io/v0.1.9/mod.ts";
import { deploy } from "https://pkg.fluentci.io/shuttle_pipeline@v0.5.2/mod.ts";
function pipeline(src = ".") {
connect(async (client: Client) => {
await deploy(client, src);
});
}
pipeline();