File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,17 +35,24 @@ jobs:
3535 with :
3636 ref : ${{ github.event.pull_request.head.ref }}
3737 fetch-depth : 0
38- - uses : ruby/setup-ruby@v1
38+ - name : Setup Ruby
39+ uses : ruby/setup-ruby@v1
3940 with :
40- ruby-version : ' 3'
41- bundler-cache : true # runs 'bundle install' and caches installed gems automatically
41+ ruby-version : ' 3.3' # Not needed with a .ruby-version file
42+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
43+ cache-version : 0 # Increment this number if you need to re-download cached gems
4244 - name : Setup Pages
45+ id : pages
4346 uses : actions/configure-pages@v5
4447 - name : Build Jekyll site
45- run : bundle install && bundle exec jekyll build -d ../_site
48+ # Outputs to the './_site' directory by default
49+ run : bundle install && bundle exec jekyll build -d ../_site --baseurl "${{ steps.pages.outputs.base_path }}"
4650 working-directory : ./docs
51+ env :
52+ JEKYLL_ENV : production
4753 - name : Upload artifact
48- uses : actions/upload-pages-artifact@v3
54+ # Automatically uploads an artifact from the './_site' directory by default
55+ uses : actions/upload-pages-artifact@v4
4956
5057 # Deployment job
5158 deploy :
Original file line number Diff line number Diff line change @@ -41,3 +41,6 @@ gem "jekyll-sitemap"
4141
4242# From https://github.com/jekyll/jekyll-watch
4343gem "jekyll-watch"
44+
45+ # From https://github.com/just-the-docs/just-the-docs-template/blob/main/README.md
46+ gem "jekyll-default-layout"
Original file line number Diff line number Diff line change @@ -25,14 +25,15 @@ description: >- # this means to ignore newlines until "baseurl:"
2525 using smart contracts on the blockchain.
2626author : Boson Protocol Team
2727baseurl : " " # the subpath of your site, e.g. /blog
28- url : " " # the base hostname & protocol for your site, e.g. http ://example.com
28+ url : " https ://bosonprotocol.github.io/interface "
2929twitter_username : bosonprotocol
3030github_username : bosonprotocol
3131
3232# Build settings
3333theme : just-the-docs
3434plugins :
3535 - jekyll-sitemap
36+ - jekyll-default-layout
3637
3738# Exclude from processing.
3839# The following items will not be processed, by default.
You can’t perform that action at this time.
0 commit comments