Skip to content

Commit c52bbde

Browse files
authored
Add GitHub Pages helpful notes (#9235)
Merge pull request 9235
1 parent e0c4640 commit c52bbde

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/_docs/step-by-step/10-deployment.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ bundle exec jekyll serve
4242

4343
This restricts your Ruby environment to only use gems set in your `Gemfile`.
4444

45+
Note: if publishing your site with GitHub Pages, you can match production
46+
version of Jekyll by using the `github-pages` gem instead of `jekyll`
47+
in your `Gemfile`. In this scenario you may also want to exclude `Gemfile.lock`
48+
from your repository because GitHub Pages ignores that file.
49+
4550
## Plugins
4651

4752
Jekyll plugins allow you to create custom generated content specific to your

0 commit comments

Comments
 (0)