Personal Astro site for letsbelopez.com.
npm install
npm run devThe local dev server defaults to http://localhost:4321.
npm run build
npm run previewAstro writes the production site to dist/.
This site is intended to deploy through Cloudflare Pages using the GitHub repository integration.
Cloudflare Pages settings:
| Setting | Value |
|---|---|
| Production branch | master |
| Build command | npm run build |
| Build output directory | dist |
| Custom domain | letsbelopez.com |
After the Cloudflare Pages project is connected to this GitHub repo, pushes to master will automatically build and deploy the production site. Pull requests and non-production branches can use Cloudflare preview deployments before merging.
The GitHub Actions workflow in .github/workflows/build.yml runs npm ci and npm run build on pull requests and pushes to master, so broken builds are caught in GitHub before or alongside Cloudflare deployments.