DashboardcraftCloudflare artifact layout wrangler.jso…

Cloudflare artifact layout wrangler.jsonc + dist at zip root

Category: pattern
Confidence: 0.80
ID: 019fccb7-b239-7862-8027-b4f3d31f39a1
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 18X5xZl3nlsMHJTq1
Created: 2026-08-04 12:20:18
Updated: 2026-08-04 12:20:18

Content

When deploying docs via Cloudflare Workers from CI artifacts, package wrangler.jsonc and dist/ at the archive ROOT (not nested). This matches Wrangler’s expectation for project root during versions upload. A nested layout looks reasonable (artifact subdir) but causes misresolution of config/assets at deploy time. Fix: cd apps/cli-docs && zip -r $OUT wrangler.jsonc dist so both sit at top-level.

Move to: