Skip to content

Fix config for static workers section of cloudflare deploy guide#12754

Closed
OliverSpeir wants to merge 1 commit into
mainfrom
fix-cf-deploy
Closed

Fix config for static workers section of cloudflare deploy guide#12754
OliverSpeir wants to merge 1 commit into
mainfrom
fix-cf-deploy

Conversation

@OliverSpeir
Copy link
Copy Markdown
Contributor

Current config creates this error:

✘ [ERROR] Cannot use assets with a binding in an assets-only Worker.

  Please remove the asset binding from your configuration file, or provide
  a Worker script in your configuration file (`main`).

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 21, 2025

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 6f72336
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/691fefcfc33d9d0008aef5e5
😎 Deploy Preview https://deploy-preview-12754--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/deploy/cloudflare.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@ArmandPhilippot
Copy link
Copy Markdown
Member

Thanks, @OliverSpeir! It seems someone else has sent a PR to fix the same thing (#12748) so I'll close this one. But, feel free to chime in the other PR. I left a suggestion there because I don't think this is the correct fix: it seems on-demand rendered websites still need that line according to Cloudflare docs.

@OliverSpeir OliverSpeir deleted the fix-cf-deploy branch November 21, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants