Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: docs GitHub Token Issue

Matthew Kilgoreb31d6d41326f
diff --git a/docs/src/content.config.ts b/docs/src/content.config.ts
index d2b9d3d5..962155f5 100644
--- a/docs/src/content.config.ts
+++ b/docs/src/content.config.ts
@@ -12,7 +12,11 @@ export const collections = {
base: 'changelog',
provider: 'github',
repo: 'homebox',
- owner: 'sysadminsmedia'
+ owner: 'sysadminsmedia',
+ // Unauthenticated GitHub API requests are rate limited per IP, which shared CI
+ // builders (e.g. Cloudflare Pages) exhaust quickly. Set GITHUB_TOKEN in the build
+ // environment to use the authenticated limit instead.
+ token: process.env.GITHUB_TOKEN,
}
]),
}),