Cloudflare Pages + Access setup — scholarship vault
Chosen 6 Dec 2026. Status: vault pushed to GitHub. Deploy is via Cloudflare Pages’ native Git integration — no API token, no repo secrets. Nothing is live yet and nothing is public.
What you get
- Vault as a readable website (search, clickable links, wiki feel) at
scholarship-vault.pages.dev. - Cloudflare Access login in front of it — only your email can open it. Free (up to 50 users). Your PC does not need to stay on.
- Every push to the GitHub repo rebuilds and redeploys the site automatically. No PC step after setup.
Your steps, in order
1. GitHub repo — DONE 6 Dec 2026
- Repo:
michaeltsige/muse-vault(private). The vault is pushed, including this note and the deploy workflow. - Muse pushes future vault updates to
main; each push rebuilds the site automatically.
2. Connect the repo in Cloudflare Pages (free — no token, no secrets)
Cloudflare Pages pulls straight from GitHub and rebuilds on every push, so there is nothing to install and no credential to create.
- Sign up at dash.cloudflare.com (free plan is enough).
- Workers & Pages → Create → Pages → Connect to Git → pick GitHub → select
michaeltsige/muse-vault, branchmain. - Project name:
scholarship-vault(this gives youscholarship-vault.pages.dev). - Framework preset: None. Then set:
- Build command:
npx quartz build - Build output directory:
public - Environment variables:
NODE_VERSION=22,TZ=Africa/Addis_Ababa
- Build command:
- Save and Deploy. The first build creates the project; check it under Workers & Pages. If the build fails, the log is in the Cloudflare dashboard — send Muse the failing step name.
Quartz itself is vendored in this repo (pinned 4.5.2), so the build installs dependencies and builds straight from the repo — nothing is fetched at build time, and there is no GitHub Actions workflow any more.
3. Lock it with Cloudflare Access (do this before sharing the link with anyone — including yourself on another device)
- Cloudflare dashboard → Zero Trust → Access → Applications → Add an application → Self-hosted.
- Application domain:
scholarship-vault.pages.dev(the subdomain Cloudflare gave the project; add your custom domain here instead if you ever add one). - Policy: Allow, rule: Emails → your email address only. Identity provider: leave the default (One-time PIN — Cloudflare emails you a code each login, no password to set).
- Save. Test in a private browser window: it should ask for an email code before showing the vault.
What NOT to do
- Do not make the Pages project public or add a “Bypass” / “Allow everyone” Access policy — the built site contains the CV PDF and the workbook, and Quartz copies non-markdown files into the site. Access is the only thing keeping it private.
- Do not put the GitHub PAT in a vault note, an email, or chat.
If the build breaks later
- Quartz 4.5 needs Node ≥ 22 — that is the
NODE_VERSIONvariable in the Pages project settings. If Quartz bumps that requirement, the build log will say so; raise the variable. - Quartz is pinned in this repo (4.5.2, commit
d25a6eaofjackyzha0/quartz, branchv4). To update it, replace thequartz/folder and thequartz.config.ts/quartz.layout.ts/package.json/package-lock.jsonfiles with a fresh copy — and keep yourpageTitle/baseUrledits inquartz.config.ts.
Related
- Vault README (hosting section now records this as the chosen route; Google Drive disconnected 6 Dec 2026)
- Dashboard