feature: Reorganize notes, and add section descriptions

This commit is contained in:
Keith Solomon
2026-01-25 12:23:41 -06:00
parent 5465665c26
commit 2992c17fd7
8 changed files with 85 additions and 26 deletions

View File

@@ -0,0 +1,28 @@
---
title: Cloudflare Pages Workflow
section: dev-notes
summary: Steps to publish the static notes site to Cloudflare Pages using the provided workflow and build output
tags: [cloudflare, ci, deploy]
nav: 3
---
## Overview
This note captures the build and deploy flow for the static notes site. The site compiles Markdown into static HTML under the `dist/` directory.
## Build steps
1. Install dependencies: `npm install`.
2. Generate the site: `npm run build`.
3. Upload the `dist/` output to Cloudflare Pages.
## Environment
- Node 20+ is recommended.
- CI uses `npm ci` and `npm run build` from the default branch.
## Tips
- Keep content in `content/` with front matter to expose metadata.
- The build bundles a `search-index.json`; avoid storing secrets in front matter.
- Regenerate locally before pushing to preview changes.