mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Fix git diff command in CI script
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep '^site/' || {
|
||||
git diff --name-only ..master | grep '^site/' || {
|
||||
echo "No site files changed. We'll skip proofing."
|
||||
exit 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user