Skip to content

wynxing/wynxing.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wynn's Save Point

A personal technical blog and project archive built with Astro, MDX, Pagefind, Giscus, and Cloudflare Workers Static Assets.

Commands

pnpm install
pnpm dev
pnpm check
pnpm build
pnpm preview
pnpm worker:dev
pnpm deploy

Deployment

The production site is configured for:

https://wynn.229866007.workers.dev

Deployment is handled by Cloudflare Workers Git integration. Connect the wynxing/wynxing.github.io repository in Cloudflare and use these build settings:

Root directory: /
Install command: pnpm install --frozen-lockfile
Build command: pnpm build
Deploy command: pnpm exec wrangler deploy

The deploy command expects dist/ to already exist. pnpm build runs Astro and Pagefind, producing both the static site and search index before Wrangler reads wrangler.jsonc.

Local deployment checks:

pnpm check
pnpm build
pnpm exec wrangler deploy --dry-run

Cloudflare Web Analytics uses the public site token configured in src/consts.ts.

About

Personal website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors