You can trigger a GitHub Pages (Jekyll) rebuild with a single API call. This is pretty useful for auto-publishing blog posts from a bot like Zapier in conjunction with future: false
in your Jekyll config.yml
. Just future-date your posts, and they'll go live when that date rolls around. I use a version of this setup for my blog at greghaskins.com.
-
Create a GitHub personal access token and save it somewhere. It needs to have the
repo
access scope (at least). -
Create a file at the root of your repo (e.g.
.publish
) with some dummy content.$ echo ".publish" > .publish