Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Deploy to Cloudflare buttons

How to embed and configure Deploy to Cloudflare buttons in READMEs, blogs, or documentation to allow users to clone, configure, and deploy Workers applications directly from Git repositories.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Deploy to Cloudflare buttons

How to embed and configure Deploy to Cloudflare buttons in READMEs, blogs, or documentation to allow users to clone, configure, and deploy Workers applications directly from Git repositories.

When To Use

Use when you want to enable other developers to quickly clone, configure, and deploy your Workers application to their own Cloudflare accounts using a single button in a repository or blog post.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-deploy-buttons-index-to-cloudflare-workflow-guide.mdA guide explaining how to embed Deploy to Cloudflare buttons in documentation to enable one-click application deployment.Questions about a guide explaining how to embed Deploy to Cloudflare buttons in documentation to enable one-click application deploym...
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-to-.textA markdown snippet containing the syntax and URL structure for the Deploy to Cloudflare button.Exact payloads, commands, or snippets shown in A markdown snippet containing the syntax and URL structure for the Deploy to Cloudflare button.
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-to--2.textAn HTML snippet containing the anchor tag and image markup for the Workers Deploy to Cloudflare button.Exact payloads, commands, or snippets shown in An HTML snippet containing the anchor tag and image markup for the Workers Deploy to Cloudflare button.
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-but.textThe URL structure and query parameter format used to trigger a Cloudflare Workers deployment via a button.Exact payloads, commands, or snippets shown in The URL structure and query parameter format used to trigger a Cloudflare Workers deployment via a button.
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-but-2.textA wrangler.toml configuration file demonstrating the settings required to deploy a worker using Cloudflare deploy buttons.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file demonstrating the settings required to deploy a worker using Cloudflare deploy but...
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-but-3.textA sample wrangler.toml configuration file defining a worker name, entry point, compatibility date, and environment variables.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file defining a worker name, entry point, compatibility date, and environment va...
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-to--3.textA text-based example demonstrating the usage and configuration of Workers Deploy to Cloudflare buttons.Exact payloads, commands, or snippets shown in A text-based example demonstrating the usage and configuration of Workers Deploy to Cloudflare buttons.
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-but-4.textA wrangler.toml configuration file demonstrating the setup for deploying Workers via Cloudflare deploy buttons.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file demonstrating the setup for deploying Workers via Cloudflare deploy buttons.
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-but-5.textA TOML configuration file defining worker name, entry point, compatibility date, and secrets store bindings.Exact payloads, commands, or snippets shown in A TOML configuration file defining worker name, entry point, compatibility date, and secrets store bindings.
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-but-6.textA package.json file demonstrating build and deployment scripts for using Cloudflare Workers deploy buttons.Exact payloads, commands, or snippets shown in A package.json file demonstrating build and deployment scripts for using Cloudflare Workers deploy buttons.
examples/workers-deploy-buttons-index-to-cloudflare-cloudflare-workers-deploy-but-7.textA configuration object demonstrating how to define worker settings and bindings for use with Cloudflare deploy buttons.Exact payloads, commands, or snippets shown in A configuration object demonstrating how to define worker settings and bindings for use with Cloudflare deploy buttons.

What This Skill Covers

  • If you're building a Workers application and would like to share it with other developers, you can embed a Deploy to Cloudflare button in your README, blog p...
  • Main sections: What are Deploy to Cloudflare buttons?, How to Set Up Deploy to Cloudflare buttons, Automatic resource provisioning, Worker environment variables and secrets, Best practices.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/platform/deploy-buttons/index.md