Skip to content

Commit

Permalink
Add support for Jekyll 4.0
Browse files Browse the repository at this point in the history
jekyll/jekyll#7591 was failing builds
that use Jekyll 4.0, as Github Actions use a lot of the same
infrastructure as Azure Pipelines (so much so that they even
share bugs!)
  • Loading branch information
David-Byrne committed Jan 17, 2020
1 parent a84c546 commit 0db8c12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jekyll_diff.sh
Expand Up @@ -26,9 +26,11 @@ fi
####################################################

cd /github/workspace
jekyll build --destination /tmp/new/
mkdir -p .jekyll-cache # workaround for https://github.com/jekyll/jekyll/issues/7591

jekyll build --trace --destination /tmp/new/
git checkout $common_ancestor_sha
jekyll build --destination /tmp/old
jekyll build --trace --destination /tmp/old
diff="$(diff --recursive --new-file --unified=0 /tmp/old /tmp/new || true)" # 'or true' because a non-identical diff outputs 1 as the exit status


Expand Down

0 comments on commit 0db8c12

Please sign in to comment.