v0.6.1
A ready-to-use CI/CD Pipeline for deploying your Cloudflare Workers .
Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
Dependencies
deno.land/x
Cloudflare Pipeline
A ready-to-use CI/CD Pipeline for deploying your Cloudflare Workers to Cloudflare.
🚀 Usage
Run the following command:
fluentci run cloudflare_pipelineEnvironment Variables
| Variable | Description |
|---|---|
| CF_API_TOKEN | Your Cloudflare API Token. |
| CF_ACCOUNT_ID | Your Cloudflare Account ID. |
| DIRECTORY | The directory to deploy to Cloudflare Pages. Defaults to . |
| PROJECT_NAME | The name of your project. |
Jobs
| Job | Description |
|---|---|
| deploy | Deploys your Worker to Cloudflare. |
| pagesDeploy | Deploy a directory of static assets as a Pages deployment. |
deploy(
accountId: String!,
apiToken: String!,
src: String!
): String
pagesDeploy(
accountId: String!,
apiToken: String!,
directory: String!,
projectName: String!,
src: String!
): String
Programmatic usage
You can also use this pipeline programmatically:
import { deploy } from "https://pkg.fluentci.io/cloudflare_pipeline@v0.6.1/mod.ts";
await deploy(".");