Host Jekyll on GitHub Pages
GitHub use a sandbox version of Jekyll that limits some features for security purposes. To use all features, use the GitHub Jekyll Deploy Action to run your own build.
You can copy the Jekyll Boilerplate GitHub Action configuration if you want to host your site on GitHub Pages.
The Jekyll Deploy Action is really easy to set up and publishes the _site
output to a branch in your repository. All you need to do is set up GitHub Pages to serve the content in the branch.
That’s what we’re doing for this site, which runs on GitHub pages with a custom domain.
The settings for GitHub Pages are:
- Source: Deploy from a branch
- Branch: gh-pages /(root)