File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,18 @@ jobs:
3434 with :
3535 ruby-version : " 3.3"
3636 bundler-cache : true # runs 'bundle install' and caches installed gems automatically
37- working-directory : ${{ github.workspace }}/ docs
37+ working-directory : docs
3838 - name : Setup Pages
3939 id : pages
4040 uses : actions/configure-pages@v5
4141 - name : Build with Jekyll
4242 # Outputs to the 'docs/_site' directory
43- run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
43+ run : |
44+ echo "url: $GITHUB_PAGES_BASE_URL" > _config.dynamic.yml
45+ bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" --config _config.yml,_config.dynamic.yml
4446 env :
4547 JEKYLL_ENV : production
48+ GITHUB_PAGES_BASE_URL : ${{ steps.pages.outputs.base_url }}
4649 - name : Upload artifact
4750 # Uploads artifact from the 'docs/_site' directory
4851 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -37,15 +37,11 @@ theme: just-the-docs
3737#
3838exclude :
3939 - README.md
40+ - vendor/
4041 - .sass-cache/
4142 - .jekyll-cache/
4243 - Gemfile
4344 - Gemfile.lock
44- - node_modules/
45- - vendor/bundle/
46- - vendor/cache/
47- - vendor/gems/
48- - vendor/ruby/
4945
5046callouts :
5147 info :
You can’t perform that action at this time.
0 commit comments