Skip to content

MDX Remote Gitub #1277

Closed Answered by fuma-nama
LeCarteloo asked this question in Q&A
Jan 12, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

That approach fetches all files from GitHub using their API, which is pretty consuming and slow. GitHub isn't a full CMS, and I would recommend to use git pull to pull markdown content from a repo to the content directory, and run build.

If you want to further automate the build, build a pipeline that triggers a build automatically when a new commit pushed (receive the event with webhook). Couldn't help much on that, since it varies depending on your hosting platform

You can continue using the current GitHub remote integration, it is still working

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LeCarteloo
Comment options

Answer selected by LeCarteloo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants