Skip to content

Commit 2621159

Browse files
authored
Add GitHub Pages helpful notes
1 parent 0951a46 commit 2621159

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 `github-pages`
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)