docs(fumadocs): document Notra blog refresh, cache-off build, and deploy hook#115
Closed
tembo[bot] wants to merge 1 commit into
Closed
docs(fumadocs): document Notra blog refresh, cache-off build, and deploy hook#115tembo[bot] wants to merge 1 commit into
tembo[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Requesting review from @leoisadev1 who has experience with the following files modified in this PR:
|
Member
|
Closing: documents the pre-SSR build-time blog, superseded by #121 (SSR architecture README). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
#113 changed how the Notra-powered blog refreshes, but
apps/fumadocs/README.mdstill described the old behavior. It said the blog rebuilt weekly, never explained the build-cache caveat that was the entire point of #113, and didn't document the new webhook trigger or the deploy-hook secret. This update brings the docs in line with the merged code.Docs updated
apps/fumadocs/README.md→ expanded the Blog content (Notra) section with two new subsections:"cache": falseinapps/fumadocs/turbo.json) so every deploy actually re-runs the fetch instead of serving a turbo/Vercel cache hit that would skip it.repository_dispatchnotra-publishedwebhook, daily safety-net schedule, manualworkflow_dispatch), and theVERCEL_DEPLOY_HOOK_URLsecret setup (Vercel → Settings → Git → Deploy Hooks, branchmain), noting the workflow no-ops cleanly until the secret is set.Codepaths covered
apps/fumadocs/turbo.json—build.cache: false.github/workflows/blog-schedule.yml—workflow_dispatch/repository_dispatch: [notra-published]/ dailyschedule(30 13 * * *), deploy-hook POST with no-op guardapps/fumadocs/scripts/fetch-notra-posts.ts— build-time fetch →src/lib/notra-posts.generated.tsKey knowledge gaps addressed
cache: false: a same-commit rebuild could turbo-cache-hit and silently skip the Notra fetch, so published posts never appeared.notra-published) path and the requiredVERCEL_DEPLOY_HOOK_URLsecret, including the clean no-op when it's unset.All claims were verified against source (turbo config, workflow YAML, fetch script, and the existing sitemap/RSS/JSON feed routes). Documentation-only change — no code touched.