Skip to content

Commit bc8c1b8

Browse files
committed
Fix CircleCI docs-build by updating EOL Docker images
Ruby 2.6 and Node 8 have been EOL for years and their Docker images are no longer available, causing the docs-build job to fail. Update to ruby:4.0 and node:24 (LTS), unpin the rouge gem version, and fix a typo in the gh-pages flag (-add -> --add).
1 parent 667af93 commit bc8c1b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ version: 2
33
jobs:
44
docs-build:
55
docker:
6-
- image: ruby:2.6
6+
- image: ruby:4.0
77
steps:
88
- checkout
99
- run:
1010
name: Install AsciiDoctor & Rouge
1111
command: |
1212
gem install asciidoctor
13-
gem install rouge -v 3.3.0
13+
gem install rouge
1414
- run:
1515
name: Build Site
1616
command: asciidoctor -a toc="left" -a toclevels=2 README.adoc -o _build/html/index.html
@@ -19,7 +19,7 @@ jobs:
1919
paths: html
2020
docs-deploy:
2121
docker:
22-
- image: node:8.10.0
22+
- image: node:24
2323
steps:
2424
- checkout
2525
- attach_workspace:
@@ -38,7 +38,7 @@ jobs:
3838
- "31:6a:94:d6:ec:2d:6c:fc:0c:9e:61:8e:49:b2:6f:1e"
3939
- run:
4040
name: Deploy docs to gh-pages branch
41-
command: gh-pages -add --dotfiles --message "[skip ci] Update site" --dist _build/html
41+
command: gh-pages --add --dotfiles --message "[skip ci] Update site" --dist _build/html
4242

4343
workflows:
4444
version: 2

0 commit comments

Comments
 (0)