Skip to content

Possible to save generated html files when using Jekyll remote theme? #23301

Answered by darrowby385
aronsommer asked this question in General
Discussion options

You must be logged in to vote

Hi @aronsommer,

Rather than creating a _site directory in your GitHub repository, GitHub Pages runs the Jekyll build process separately, and stores the generated files elsewhere on GitHub’s servers.

It isn’t possible to directly download the built site, but you can create it yourself by cloning your repository and running a Jekyll build on your local machine. In order for your local environment to to resemble GitHub Pages as closely as possible (including support for the remote_theme configuration, among other things), you’ll need to install the github-pages gem, and add the following line to your site’s Gemfile:

gem'github-pages',group::jekyll\_plugins

Further documentation on the GitHu…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants