Skip to content

Commit ed133ed

Browse files
pcolmerphilip-linaro
andauthoredMar 3, 2022
Force "skip doctor" for local builds (Linaro#1912)
Co-authored-by: Philip Colmer <philip.colmer@linaro.org>
1 parent 2e83b37 commit ed133ed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎build-site.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ else
2626
INTER=""
2727
fi
2828

29+
# For the Linaro website, it is currently *NECESSARY*
30+
# to skip the Jekyll Doctor phase of the build process.
31+
# Jekyll Doctor falls over because of one of the gems
32+
# being used by the site.
33+
2934
docker run \
3035
--cap-drop ALL \
3136
--rm \
@@ -34,7 +39,7 @@ docker run \
3439
$PORTS \
3540
-e JEKYLL_ACTION \
3641
-e JEKYLL_ENV \
37-
-e SKIP_JEKYLL_DOCTOR \
42+
-e SKIP_JEKYLL_DOCTOR="true" \
3843
-v /etc/passwd:/etc/passwd:ro \
3944
-v /etc/group:/etc/group:ro \
4045
-u "$(id -u)":"$(id -g)" \

0 commit comments

Comments
 (0)
Please sign in to comment.