Skip to content

Commit

Permalink
[CI] Fix build-github-pages CI job
Browse files Browse the repository at this point in the history
Recent updates to the pages-gem repository, used by the
build-github-pages CI job, have introduced a regression by which the
build fails due to incompatible Ruby version.

We'll fix this by passing in a specific Ruby version that's compatible.
  • Loading branch information
vhscampos committed Jan 8, 2024
1 parent 0c43c9a commit 9d7d2e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build-github-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ set -x
ROOTDIR=$(realpath "$(dirname "$(realpath "$0")")/..")
TEMPDIR=$(mktemp -d)
cd $TEMPDIR
git clone https://github.com/github/pages-gem.git
git clone --depth 1 https://github.com/github/pages-gem.git
cd pages-gem
make image
docker build -t gh-pages --build-arg RUBY_VERSION=3.2 .
cd $ROOTDIR
echo -e "plugins:\n \
- jekyll-coffeescript\n \
Expand Down

0 comments on commit 9d7d2e4

Please sign in to comment.