Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Configuration Workers Sites

Guides for deploying static applications to Cloudflare Workers using Workers Sites, including starting new projects, migrating existing static sites, or integrating assets into existing Workers codebases.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Configuration Workers Sites

Guides for deploying static applications to Cloudflare Workers using Workers Sites, including starting new projects, migrating existing static sites, or integrating assets into existing Workers codebases.

When To Use

Use when you need to deploy a static site built with frameworks like React or Hugo to Cloudflare Workers or integrate static assets into an existing Worker project.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-configuration-sites-workflow-guide.mdA guide explaining how to configure Workers Sites and recommending the use of Workers Static Assets instead.Questions about a guide explaining how to configure Workers Sites and recommending the use of Workers Static Assets instead.

What This Skill Covers

  • You should use Workers Static Assets to host full-stack applications instead of Workers Sites. It has been deprecated in Wrangler v4, and the Cloudflare Vite...
  • Main sections: 1\. Start from scratch, 2\. Deploy an existing static site, 3\. Add static assets to an existing Workers project.

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/configuration/sites