Skip to content

docs: add environments, CI/CD guide, and env vars reference#804

Merged
atinux merged 6 commits intonuxt-hub:mainfrom
onmax:docs/environments-cicd-reference
Feb 6, 2026
Merged

docs: add environments, CI/CD guide, and env vars reference#804
atinux merged 6 commits intonuxt-hub:mainfrom
onmax:docs/environments-cicd-reference

Conversation

@onmax
Copy link
Copy Markdown
Contributor

@onmax onmax commented Jan 23, 2026

Summary

Addresses documentation gaps raised in #803.

New pages:

  • docs/7.reference/1.environment-variables.md - Centralized env vars reference
  • docs/1.getting-started/5.environments.md - Multi-environment workflow guide
  • docs/6.guides/3.ci-cd.md - CI/CD deployment with D1 migration solutions

Updated pages:

  • docs/2.database/4.migrations.md - Added CI/CD migrations section
  • docs/5.cache/1.index.md - Added Cache vs KV decision guide
  • docs/1.getting-started/3.deploy.md - Added wrangler config mapping table

Key additions

  • Environment variables detection priority chains
  • D1 migrations in CI/CD (Wrangler + NuxtHub CLI approaches)
  • Cloudflare environment configuration with CLOUDFLARE_ENV
  • Cache vs KV usage guidance
  • Wrangler config auto-generation explanation

Closes #803

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 23, 2026

@onmax is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

@onmax onmax force-pushed the docs/environments-cicd-reference branch 3 times, most recently from f804405 to 94af6e1 Compare January 23, 2026 20:18
@onmax onmax force-pushed the docs/environments-cicd-reference branch from 94af6e1 to 1df4ad3 Compare January 23, 2026 20:25
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Jan 23, 2026

npm i https://pkg.pr.new/@nuxthub/core@804

commit: 23daa2f

@onmax
Copy link
Copy Markdown
Contributor Author

onmax commented Jan 26, 2026

Thanks for the review. Applied your feedbakc; I removed deprecated Vercel KV vars, updated Marketplace tip, added CLOUDFLARE_ENV guidance for Workers Builds.

@onmax onmax force-pushed the docs/environments-cicd-reference branch from cec974f to 3ad8928 Compare January 26, 2026 07:38
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxthub Ready Ready Preview Jan 30, 2026 6:03pm

Copy link
Copy Markdown
Member

@RihanArfan RihanArfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant, thank you! 💚 🚀

@atinux atinux merged commit f93fe88 into nuxt-hub:main Feb 6, 2026
7 of 9 checks passed
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.

NuxtHub + Cloudflare: loss of the original DX

3 participants