File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ - dev
78 paths :
89 - ' docs/**'
910 - ' .github/workflows/github-pages.yml'
@@ -36,24 +37,27 @@ jobs:
3637 - name : Setup Ruby (for Jekyll)
3738 uses : ruby/setup-ruby@v1
3839 with :
39- ruby-version : ' 3.1 '
40- bundler-cache : true
40+ ruby-version : ' 3.2 '
41+ bundler-cache : false
4142 working-directory : ./docs
4243
4344 - name : Install Jekyll dependencies
4445 run : |
4546 cd docs
46- bundle install
47+ bundle config set --local path 'vendor/bundle'
48+ bundle install --jobs 1 --retry 3
4749
4850 - name : Copy root files to docs
4951 run : |
5052 # Copy important root files to docs directory for inclusion in GitHub Pages
5153 cp LICENSE.md docs/LICENSE.md
5254 cp TRADEMARKS.md docs/TRADEMARKS.md
55+ cp _config.yml docs/_config.yml
5356
5457 - name : Build with Jekyll
5558 run : |
56- jekyll build --source docs --destination _site
59+ cd docs
60+ jekyll build --destination ../_site
5761 env :
5862 JEKYLL_ENV : production
5963
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ exclude:
3939
4040# Source and destination (Jekyll will look for files in docs/)
4141# Note: For GitHub Pages, Jekyll typically expects source in root or docs/
42- source : docs
42+ # When _config.yml is in docs/, source should be "." (current directory)
43+ source : .
4344destination : _site
4445
4546# Defaults
You can’t perform that action at this time.
0 commit comments