A ready-to-use CI/CD Pipeline for deploying your shuttle applications to Shuttle.
Run the following command:
fluentci run shuttle_pipelineUse as a Dagger Module:
dagger install github.com/fluent-ci-templates/shuttle-pipeline@mainCall deploy function from this module:
dagger call deploy --src . --api-key SHUTTLE_API_KEY| Variable | Description |
|---|---|
| SHUTTLE_API_KEY | Your Shuttle API key |
| SHUTTLE_VERSION | The version of cargo shuttle, defaults to v0.39.0 |
| Job | Description |
|---|---|
| deploy | Deploy your shuttle application to shuttle.rs. |
deploy(
src: string | Directory | undefined = ".",
apiKey?: string | Secret,
shuttleVersion?: string,
): Promise<string>You can also use this pipeline programmatically:
import { deploy } from "jsr:@fluentci/shuttle";
await deploy(".");