This project syncs blog content from a private repository. You need to:
- Create a Fine-grained Personal Access Token
- Grant Read-only access to the
Contentsof theMH4GF/worksrepository - Set the token in
.env.local:cp .env.example .env.local # Edit .env.local and set GITHUB_TOKEN=ghp_...
Note: If you're not the repository owner, you can skip this step and use the existing content cache.
corepack enable
pnpm i
pnpm devNote: If you update the works repository, restart pnpm dev to sync the latest content.