From c52bbde5ec0292b60c48ae8a41a433cd4df3d352 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Sun, 22 Oct 2023 13:49:06 -0400 Subject: [PATCH] Add GitHub Pages helpful notes (#9235) Merge pull request 9235 --- docs/_docs/step-by-step/10-deployment.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/_docs/step-by-step/10-deployment.md b/docs/_docs/step-by-step/10-deployment.md index 27659819..7fd0d08f 100644 --- a/docs/_docs/step-by-step/10-deployment.md +++ b/docs/_docs/step-by-step/10-deployment.md @@ -42,6 +42,11 @@ bundle exec jekyll serve This restricts your Ruby environment to only use gems set in your `Gemfile`. +Note: if publishing your site with GitHub Pages, you can match production +version of Jekyll by using the `github-pages` gem instead of `jekyll` +in your `Gemfile`. In this scenario you may also want to exclude `Gemfile.lock` +from your repository because GitHub Pages ignores that file. + ## Plugins Jekyll plugins allow you to create custom generated content specific to your