• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Deeper Scenery

Further up and further in

  • Home
  • Blog
  • Code
  • Tutorials
  • Privacy Policy
You are here: Home / Ideas / Link a GitHub repo with WordPress

Ideas · Published: August 27, 2018 · Modified: August 27, 2018

Link a GitHub repo with WordPress

This is just a small idea. For more information, see this blog post.

I think it would be a neat idea to utilize a plugin and the GitHub API to synchronize a GitHub repo with WordPress. Posts in WordPress (or a CPT) would correlate to files in the GitHub repo. Saving in the WP editor would trigger a commit in GitHub using the API. Similarly, changes made to the repo from another source and synced to Github would be picked up by WordPress, possibly via a web hook.

The ideal benefit would be a simple VCS that is offered by Git (and GitHub), while a lower technical barrier to entry.

I have two ideas for how this would be used:

  • To commit to the gh-pages branch for repos that take advantage of GitHub pages
  • To commit regular files (probably markdown files) to a GitHub repo

Filed Under: Ideas

Previous Post: « Multiple Sites for one Valet+ Path
Next Post: OOP form library »

Primary Sidebar

Subscribe to jeremypry.com

Enter your email address to subscribe to this site and receive notifications of new posts by email.

  • Home
  • Blog
  • Code
  • Ideas
  • Tutorial
  • Gifts
  • Privacy Policy

Copyright © 2025 · JPry Showcase Pro on Genesis Framework · WordPress · Log in