diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e1986416c..20c02d90b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ permissions: contents: read env: NODE_VERSION: 16 + RUBY_VERSION: 3.1.2 jobs: setup: runs-on: ubuntu-latest @@ -79,6 +80,23 @@ jobs: path: ./* key: ${{ github.ref }}-${{ github.sha }}-build-release + build-docs: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v3 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ env.RUBY_VERSION }} + bundler-cache: true + working-directory: ./docs + + - name: Run jekyll build + working-directory: ./docs + run: bundle exec jekyll build --strict_front_matter + lint: needs: setup runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index 1448612fe..204ab8783 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ Gemfile.lock yarn.lock *.log .eslintcache +.jekyll-cache diff --git a/docs/_config.yml b/docs/_config.yml index 696d544f6..a0894940f 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,4 +1,4 @@ -exclude: [build, debug, node_modules, spec, src, CNAME, reference-tpl.html, CHANGELOG.md, README.md, LICENSE] +exclude: [build, debug, node_modules, spec, src, CNAME, reference-tpl.html, CHANGELOG.md, README.md, LICENSE, vendor/bundle, vendor/cache, vendor/gems, vendor/ruby] markdown: kramdown