Skip to content

Commit 15022ad

Browse files
authored
Fix the installation of Jekyll in CI (#553)
* Upgrade Ruby and Jekyll * Make the whole microsite on CI builds, instead of just running `mdoc` * Add a `.ruby-version` file Jekyll now outputs a load of deprecation warnings, but I have built the site locally and checked that it renders correctly. I've made an issue (#554) for migrating from sbt-microsites to Laika, which is actively maintained and doesn't rely on Jekyll.
1 parent 00e56cb commit 15022ad

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ jobs:
3939
java-version: '17'
4040
cache: 'sbt'
4141
- uses: sbt/setup-sbt@v1
42+
- uses: ruby/setup-ruby@v1
43+
- name: Install Jekyll
44+
run: gem install jekyll -v 4.3.4
4245
- name: Compile documentation
43-
run: sbt -J-Xms4G -J-Xmx4G docs/mdoc
46+
run: sbt -J-Xms4G -J-Xmx4G docs/makeMicrosite
4447
format:
4548
runs-on: ubuntu-latest
4649
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ jobs:
3636
cache: 'sbt'
3737
- uses: sbt/setup-sbt@v1
3838
- uses: ruby/setup-ruby@v1
39-
with:
40-
ruby-version: 2.6
4139
- name: Install Jekyll
42-
run: gem install jekyll -v 4
40+
run: gem install jekyll -v 4.3.4
4341
- name: Publish the microsite
4442
run: sbt -J-Xms4G -J-Xmx4G docs/publishMicrosite
4543
env:

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.4.1

0 commit comments

Comments
 (0)