Redeploy Assets
redeploy_assetsRedeploy an assets-only Worker while reusing previously uploaded files, enabling updates to HTML or not-found handling without re-uploading the site.
Instructions
Create a new deployment of an assets-only Worker that reuses its previously uploaded files (keep_assets) — useful to change html_handling or not_found_handling without re-uploading the site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_name | Yes | The name of the Worker script | |
| html_handling | No | How HTML URLs are canonicalized (default: auto-trailing-slash) | |
| compatibility_date | No | Worker compatibility date (YYYY-MM-DD); defaults to today | |
| not_found_handling | No | Response when no asset matches: 'single-page-application' serves /index.html (SPA mode), '404-page' serves /404.html (default: none) |