# Cloudflare Pages deployment — no-domain Argo CD edition

1. Create a Direct Upload Pages project.
2. Upload the ZIP with `index.html` and `_worker.js` at the archive root.
3. Bind a D1 database using variable name `DB`.
4. Add the variables and secrets in `docs/VARIABLES_REQUIRED.md`.
5. Redeploy and check `/api/health`, `/api/overview`, `/api/github/runs`, `/api/argocd/apps` and `/api/monitoring`.
6. Run `scripts/push-argocd-snapshot.ps1` from the Windows machine that has access to the Kubernetes cluster.

Cloudflare Pages hosts the dashboard, API gateway, webhook receiver and D1 snapshot store. GitHub Actions, Helm, Kubernetes and Argo CD run in GitHub and cluster environments.

The recommended Argo CD integration is a local push bridge. It does not require a purchased domain, Cloudflare Tunnel, `ARGOCD_BASE_URL`, or a public Argo CD endpoint. See `docs/NO_DOMAIN_ARGOCD.md`.
