-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(cloudflare): update deployment guide #2074
docs(cloudflare): update deployment guide #2074
Conversation
β Live Preview ready!
|
50187a4
to
c4ded8c
Compare
@@ -300,26 +242,20 @@ NITRO_HELLO_THERE="captain" | |||
SECRET="top-secret" | |||
``` | |||
|
|||
## Advanced | |||
## Cloudflare Bindings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I just included the Bindings and not the rest of the Cloudflare context (so the request and ctx object), I wonder if I should π€ (on one hand it would make these docs more comprehensive, on the other I wouldn't want to make these too overwhelming)
c4ded8c
to
a86da6c
Compare
as part of these changes: - make the `cloudflare_pages` preset the recommended one - make the worker presets deprecated - give more information regarding Bindings
a86da6c
to
e7a51e1
Compare
docs/content/2.deploy/0.index.md
Outdated
@@ -27,19 +27,25 @@ When deploying to the production using CI/CD, Nitro tries to automatically detec | |||
- [vercel](/deploy/providers/vercel) | |||
- [zeabur](/deploy/providers/zeabur) | |||
|
|||
::alert{type="info"} | |||
**Note:** Even with these presets, if you need to build your application locally (for development or testing purposes) targeting the provider environment, you still need to tell Nitro what preset it needs to use (you can see below how). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview is not applied for all presets so for now at least it cannot be a general advice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
β Type of change
π Description
This PR updates the Cloudflare deployment docs by:
- making the
cloudflare_pages
preset the recommended one- making the worker presets deprecated
- giving more information regarding Bindings
- applying other cleanups
Besides the Cloudflare docs update this PR also includes small changes to the deployment overview doc to hopefully slightly clarify things