mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-16 16:12:23 -06:00
Fix CI installing multiple copies of Jekyll, explicitly add kramdown-gfm-parser
to the 3.9
build (#1248)
See: https://github.com/just-the-docs/just-the-docs/pull/1112#issuecomment-1533518323.
This commit is contained in:
parent
216d342f26
commit
3618253d15
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -25,14 +25,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby-version }}
|
ruby-version: ${{ matrix.ruby-version }}
|
||||||
bundler-cache: false
|
bundler-cache: false
|
||||||
- name: Bundle Install
|
- name: Bundle Install (Jekyll ${{ matrix.jekyll-version }})
|
||||||
run: bundle install
|
run: bundle install
|
||||||
- name: Install Jekyll ${{ matrix.jekyll-version }}
|
env:
|
||||||
run: gem install jekyll -v ${{ matrix.jekyll-version }}
|
BUNDLE_GEMFILE: fixtures/Gemfile-jekyll-${{ matrix.jekyll-version }}
|
||||||
- name: Init Search
|
- name: Init Search
|
||||||
run: bundle exec rake search:init
|
run: bundle exec rake search:init
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: fixtures/Gemfile-jekyll-${{ matrix.jekyll-version }}
|
||||||
- name: Build Site
|
- name: Build Site
|
||||||
run: bundle exec jekyll build
|
run: bundle exec jekyll build
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: fixtures/Gemfile-jekyll-${{ matrix.jekyll-version }}
|
||||||
|
|
||||||
github-pages-build:
|
github-pages-build:
|
||||||
name: Build (github-pages gem)
|
name: Build (github-pages gem)
|
||||||
@ -45,9 +49,13 @@ jobs:
|
|||||||
ruby-version: '3.1'
|
ruby-version: '3.1'
|
||||||
bundler-cache: false
|
bundler-cache: false
|
||||||
- name: Bundle Install
|
- name: Bundle Install
|
||||||
run: BUNDLE_GEMFILE=fixtures/Gemfile-github-pages bundle install
|
run: bundle install
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: fixtures/Gemfile-github-pages
|
||||||
- name: Build Site
|
- name: Build Site
|
||||||
run: BUNDLE_GEMFILE=fixtures/Gemfile-github-pages bundle exec jekyll build
|
run: bundle exec jekyll build
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: fixtures/Gemfile-github-pages
|
||||||
|
|
||||||
assets:
|
assets:
|
||||||
name: Test CSS and JS
|
name: Test CSS and JS
|
||||||
|
13
fixtures/Gemfile-jekyll-3.9
Normal file
13
fixtures/Gemfile-jekyll-3.9
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "jekyll", "~> 3.9"
|
||||||
|
|
||||||
|
gem "jekyll-seo-tag", ">= 2.0"
|
||||||
|
gem "rake", ">= 12.3.1"
|
||||||
|
|
||||||
|
# required for Jekyll 3
|
||||||
|
gem "webrick", "~> 1.7"
|
||||||
|
gem "kramdown-parser-gfm", '~> 1.1'
|
||||||
|
|
||||||
|
# docs-only
|
||||||
|
gem "jekyll-github-metadata", ">= 2.15"
|
9
fixtures/Gemfile-jekyll-4.3
Normal file
9
fixtures/Gemfile-jekyll-4.3
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "jekyll", "~> 4.3"
|
||||||
|
|
||||||
|
gem "jekyll-seo-tag", ">= 2.0"
|
||||||
|
gem "rake", ">= 12.3.1"
|
||||||
|
|
||||||
|
# docs-only
|
||||||
|
gem "jekyll-github-metadata", ">= 2.15"
|
Loading…
x
Reference in New Issue
Block a user