Cloudflare + GitHub + Neon Guide
This project demonstrates a full-stack deployment workflow using Cloudflare Pages, GitHub Actions, and Neon PostgreSQL.
What this covers
- GitHub repository setup and branch protection
- Neon PostgreSQL provisioning and connection pooling
- Cloudflare Pages deployment with custom domain
- GitHub Actions CI/CD pipeline
- Secrets management across GitHub, Neon, and Cloudflare
Quick start
# 1. Clone and install git clone https://github.com/<your-org>/<repo>.git cd <repo> npm install # 2. Create a Neon database and copy the connection string # 3. Add DATABASE_URL to GitHub repository secrets # 4. Push to GitHub to trigger the workflow git push origin main
Live demo
After deployment, visit the Cloudflare Pages URL to verify the static site is live.