Skip to main content

Cloudflare

Run the following command to run the pre-built Cloudflare Pipeline in your project to deploy your Cloudflare Workers to Cloudflare:

fluentci run cloudflare_pipeline deploy

Environment variables

VariableDescription
CF_API_TOKENCloudflare API token.
CF_ACCOUNT_IDCloudflare account ID.

Jobs

JobDescription
deployDeploys your Worker to Cloudflare.

Programmatic usage

You can also use this pipeline programmatically:

import { deploy } from "https://pkg.fluentci.io/[email protected]/mod.ts";

await deploy();