Skip to content

Commit a0701fa

Browse files
committed
Pin CircleCI image to Ubuntu 20.04
- pa11y/pa11y-ci#198
1 parent 10d3a10 commit a0701fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ node-save-cache: &node-save-cache
2121
jobs:
2222
build:
2323
docker:
24-
- image: cimg/ruby:3.1-browsers
24+
- image: cimg/ruby:3.1.2-browsers
2525
environment:
2626
<<: *node-environments
2727
steps:
@@ -46,11 +46,11 @@ jobs:
4646
bundle exec jekyll clean
4747
bundle exec jekyll build
4848
- run: |
49-
(bundle exec jekyll server -d _tmp_site & echo $! >&3) 3>jekyll.pid | grep -q 'Server running'
49+
(bundle exec jekyll serve -d _tmp_site --no-watch & echo $! >&3) 3>_jekyll.pid | grep -q 'Server running'
5050
pa11y-ci --sitemap 'http://localhost:4000/whiteglass/sitemap.xml' \
5151
--sitemap-find 'https://yous.github.io/whiteglass' --sitemap-replace 'http://localhost:4000/whiteglass'
52-
kill -9 "$(cat jekyll.pid)"
53-
rm -f jekyll.pid
52+
kill -9 "$(cat _jekyll.pid)"
53+
rm -f _jekyll.pid
5454
rm -rf _tmp_site
5555
- persist_to_workspace:
5656
root: .

0 commit comments

Comments
 (0)