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
Variable | Description |
---|---|
CF_API_TOKEN | Cloudflare API token. |
CF_ACCOUNT_ID | Cloudflare account ID. |
Jobs
Job | Description |
---|---|
deploy | Deploys 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();