Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Deploy to Cloudflare buttons

Instructions for embedding Deploy to Cloudflare buttons in READMEs 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

Instructions for embedding Deploy to Cloudflare buttons in READMEs or documentation to allow users to clone, configure, and deploy Workers applications directly from Git repositories.

When To Use

Use when you need to enable one-click deployment of a Workers application from a GitHub or GitLab repository via a button in documentation or a README.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-deploy-buttons-to-cloudflare-workflow-guide.mdA guide explaining how to set up and use Deploy to Cloudflare buttons to enable one-click application deployment for developers.Questions about a guide explaining how to set up and use Deploy to Cloudflare buttons to enable one-click application deployment for...
examples/workers-deploy-buttons-to-cloudflare-cloudflare-workers-deploy-button-ma.textThe markdown syntax and URL structure required to implement a Deploy to Cloudflare button.Exact payloads, commands, or snippets shown in The markdown syntax and URL structure required to implement a Deploy to Cloudflare button.
examples/workers-deploy-buttons-to-cloudflare-cloudflare-workers-deploy-button-ht.textAn HTML anchor tag containing the deployment button URL and image source for deploying Workers directly from a repository.Exact payloads, commands, or snippets shown in An HTML anchor tag containing the deployment button URL and image source for deploying Workers directly from a reposi...
examples/workers-deploy-buttons-to-cloudflare-workers-deploy-to-cloudflare-button.textThe URL structure and query parameter format used to trigger a Cloudflare Workers deployment via the deploy button.Exact payloads, commands, or snippets shown in The URL structure and query parameter format used to trigger a Cloudflare Workers deployment via the deploy button.
examples/workers-deploy-buttons-to-cloudflare-cloudflare-workers-deploy-buttons-w.textA wrangler.toml configuration file demonstrating the settings required to deploy Workers using Cloudflare deploy buttons.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file demonstrating the settings required to deploy Workers using Cloudflare deploy butt...
examples/workers-deploy-buttons-to-cloudflare-cloudflare-workers-deploy-buttons-w-2.textA wrangler.toml configuration file defining worker name, entry point, compatibility date, and environment variables.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining worker name, entry point, compatibility date, and environment variables.
examples/workers-deploy-buttons-to-cloudflare-cloudflare-workers-deploy-buttons-e.textAn example showing how to define an environment variable like COOKIE_SIGNING_KEY for a Cloudflare Workers deployment.Exact payloads, commands, or snippets shown in An example showing how to define an environment variable like COOKIESIGNINGKEY for a Cloudflare Workers deployment.
examples/workers-deploy-buttons-to-cloudflare-cloudflare-workers-deploy-buttons-w-3.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-to-cloudflare-cloudflare-workers-deploy-buttons-w-4.textA wrangler.toml configuration file demonstrating the setup for deploying Workers using Cloudflare deploy buttons.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file demonstrating the setup for deploying Workers using Cloudflare deploy buttons.
examples/workers-deploy-buttons-to-cloudflare-cloudflare-workers-deploy-buttons-p.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-to-cloudflare-cloudflare-workers-deploy-buttons-c.textA JSON configuration object demonstrating the cloudflare property used to enable deployment buttons for a Worker.Exact payloads, commands, or snippets shown in A JSON configuration object demonstrating the cloudflare property used to enable deployment buttons for a Worker.

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