v0.2.0
A ready-to-use CI/CD Pipeline for deploying your Cloudflare Workers .
Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
Cloudflare Pipeline
A ready-to-use CI/CD Pipeline for deploying your Cloudflare Workers to Cloudflare.
🚀 Usage
Run the following command:
dagger run fluentci cloudflare_pipelineEnvironment Variables
| Variable | Description |
|---|---|
| CF_API_TOKEN | Your Cloudflare API Token. |
| CF_ACCOUNT_ID | Your Cloudflare Account ID |
Jobs
| Job | Description |
|---|---|
| deploy | Deploys your Worker to Cloudflare. |
Programmatic usage
You can also use this pipeline programmatically:
import { Client, connect } from "https://esm.sh/@dagger.io/dagger@0.8.1";
import { Dagger } from "https://deno.land/x/cloudflare_pipeline/mod.ts";
const { deploy } = Dagger;
function pipeline(src = ".") {
connect(async (client: Client) => {
await deploy(client, src);
});
}
pipeline();