{"id":20571301,"url":"https://github.com/fluent-ci-templates/cloudflare-pipeline","last_synced_at":"2026-04-21T14:03:45.035Z","repository":{"id":187162427,"uuid":"672333531","full_name":"fluent-ci-templates/cloudflare-pipeline","owner":"fluent-ci-templates","description":"A ready-to-use CI/CD Pipeline for deploying your Cloudflare Workers .","archived":false,"fork":false,"pushed_at":"2024-08-11T15:27:32.000Z","size":199,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T21:14:09.884Z","etag":null,"topics":["cicd","cloudflare-workers","dagger","deno","pipeline","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent-ci-templates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-29T18:02:09.000Z","updated_at":"2024-08-11T15:25:36.000Z","dependencies_parsed_at":"2023-08-09T08:04:58.265Z","dependency_job_id":"53e0164d-9d29-49fd-a862-c5a4565cdab9","html_url":"https://github.com/fluent-ci-templates/cloudflare-pipeline","commit_stats":null,"previous_names":["fluent-ci-templates/cloudflare-pipeline"],"tags_count":33,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fcloudflare-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fcloudflare-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fcloudflare-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fcloudflare-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-ci-templates","download_url":"https://codeload.github.com/fluent-ci-templates/cloudflare-pipeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242187633,"owners_count":20086217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cicd","cloudflare-workers","dagger","deno","pipeline","typescript"],"created_at":"2024-11-16T05:15:46.998Z","updated_at":"2026-04-21T14:03:44.999Z","avatar_url":"https://github.com/fluent-ci-templates.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Cloudflare Pipeline\n\n[![fluentci pipeline](https://shield.fluentci.io/x/cloudflare_pipeline)](https://pkg.fluentci.io/cloudflare_pipeline)\n[![deno module](https://shield.deno.dev/x/cloudflare_pipeline)](https://deno.land/x/cloudflare_pipeline)\n![deno compatibility](https://shield.deno.dev/deno/^1.41)\n[![dagger-min-version](https://shield.fluentci.io/dagger/v0.11.7)](https://dagger.io)\n[![](https://jsr.io/badges/@fluentci/cloudflare)](https://jsr.io/@fluentci/cloudflare)\n[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/cloudflare-pipeline)](https://codecov.io/gh/fluent-ci-templates/cloudflare-pipeline)\n\nA ready-to-use CI/CD Pipeline for deploying your applications to [Cloudflare Workers](https://workers.cloudflare.com/) / [Cloudflare Pages](https://pages.cloudflare.com/).\n\n## 🚀 Usage\n\nRun the following command:\n\n```bash\nfluentci run cloudflare_pipeline\n```\n\n## 🧩 Dagger Module\n\nUse as a [Dagger](https://dagger.io) Module:\n\n```bash\ndagger install github.com/fluent-ci-templates/cloudflare-pipeline@main\n```\n\nCall functions from the module:\n\n```bash\n# Deploy to Cloudflare Workers\ndagger call deploy --src . \\\n  --api-token CF_API_TOKEN \\\n  --account-id $CF_ACCOUNT_ID \\\n  --project-name $PROJECT_NAME\n\n# Deploy to Cloudflare Pages\ndagger call pages-deploy --src . \\\n  --api-token CF_API_TOKEN \\\n  --account-id $CF_ACCOUNT_ID \\\n  --directory dist \\\n  --project-name $PROJECT_NAME\n```\n\n## 🛠️ Environment Variables\n\n| Variable              | Description                                                  |\n|-----------------------|--------------------------------------------------------------|\n| CLOUDFLARE_API_TOKEN  | Your Cloudflare API Token.                                   |\n| CLOUDFLARE_ACCOUNT_ID | Your Cloudflare Account ID.                                  |\n| DIRECTORY             | The directory to deploy to Cloudflare Pages. Defaults to `.` |\n| PROJECT_NAME          | The name of your project.                                    |\n\n## ✨ Jobs\n\n| Job         | Description                                                |\n|-------------|------------------------------------------------------------|\n| deploy      | Deploys your Worker to Cloudflare.                         |\n| pagesDeploy | Deploy a directory of static assets as a Pages deployment. |\n\n```typescript\npagesDeploy(\n  src: string | Directory,\n  apiToken: string | Secret,\n  accountId: string,\n  directory: string,\n  projectName: string,\n): Promise\u003cstring\u003e\n\ndeploy(\n  src: string | Directory,\n  apiToken: string | Secret,\n  accountId: string\n): Promise\u003cstring\u003e\n```\n\n## 👨‍💻 Programmatic usage\n\nYou can also use this pipeline programmatically:\n\n```typescript\nimport { deploy } from \"jsr:@fluentci/cloudflare\";\n\nawait deploy(\n  \".\", \n  Deno.env.get(\"CLOUDFLARE_API_TOKEN\")!, \n  Deno.env.get(\"CLOUDFLARE_ACCOUNT_ID\")!\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fcloudflare-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-ci-templates%2Fcloudflare-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fcloudflare-pipeline/lists"}