File tree Expand file tree Collapse file tree 3 files changed +22
-11
lines changed
Expand file tree Collapse file tree 3 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ concurrency:
2323jobs :
2424 build :
2525 runs-on : ubuntu-latest
26+ defaults :
27+ run :
28+ working-directory : docs
2629 steps :
2730 - name : Checkout
2831 uses : actions/checkout@v4
@@ -31,16 +34,15 @@ jobs:
3134 with :
3235 ruby-version : " 3.3"
3336 bundler-cache : true # runs 'bundle install' and caches installed gems automatically
34- working-directory : docs
37+ working-directory : ${{ github.workspace }}/ docs
3538 - name : Setup Pages
3639 id : pages
3740 uses : actions/configure-pages@v5
38- # Outputs to the 'docs/_site' directory
3941 - name : Build with Jekyll
40- uses : actions/jekyll-build-pages@v1
41- with :
42- source : docs
43- destination : docs/_site
42+ # Outputs to the 'docs/_site' directory
43+ run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
44+ env :
45+ JEKYLL_ENV : production
4446 - name : Upload artifact
4547 # Uploads artifact from the 'docs/_site' directory
4648 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 1- _site
2- .sass-cache
3- .jekyll-cache
1+ # These are directly copied from Jekyll's first-party docs on `.gitignore` files:
2+ # https://jekyllrb.com/tutorials/using-jekyll-with-bundler/#commit-to-source-control
3+
4+ # Ignore the default location of the built site, and caches and metadata generated by Jekyll
5+ _site /
6+ .sass-cache /
7+ .jekyll-cache /
48.jekyll-metadata
5- vendor
9+
10+ # Ignore folders generated by Bundler
11+ .bundle /
12+ vendor /
Original file line number Diff line number Diff line change 3535 ffi (>= 1.15.0 )
3636 eventmachine (1.2.7 )
3737 execjs (2.9.1 )
38- faraday (2.11 .0 )
38+ faraday (2.12 .0 )
3939 faraday-net_http (>= 2.0 , < 3.4 )
40+ json
4041 logger
4142 faraday-net_http (3.3.0 )
4243 net-http
220221 gemoji (>= 3 , < 5 )
221222 html-pipeline (~> 2.2 )
222223 jekyll (>= 3.0 , < 5.0 )
224+ json (2.7.2 )
223225 just-the-docs (0.10.0 )
224226 jekyll (>= 3.8.5 )
225227 jekyll-include-cache
You can’t perform that action at this time.
0 commit comments