Skip to main content
The Deno 2 Release Candidate is here
Learn more

Spin Pipeline

fluentci pipeline deno module deno compatibility

A ready-to-use CI/CD Pipeline for building and deploying your Spin applications to Fermyon Platform.

🚀 Usage

Run the following command:

fluentci run spin_pipeline

Environment Variables

Variable Description
SPIN_AUTH_TOKEN Your Fermyon Cloud Access Token.

Jobs

Job Description
build Build your Spin application (Only Rust is supported at the moment).
deploy Deploy your Spin application to Fermyon Platform.
build(src: String!): String

deploy(
  authToken: String!, 
  cacheKey: String!, 
  cachePath: String!, 
  src: String!
): String

Programmatic usage

You can also use this pipeline programmatically:

import { build, deploy } from "https://pkg.fluentci.io/spin_pipeline@v0.6.0/mod.ts";

await build();
await deploy();