From c29aaca857595059e3491f44acd0340cbdccae66 Mon Sep 17 00:00:00 2001 From: Perry Govier Date: Mon, 5 Dec 2016 16:43:40 -0600 Subject: [PATCH] chore(ci): test --- scripts/docs/update_docs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/docs/update_docs.sh b/scripts/docs/update_docs.sh index 260294a85..8fa0fe77d 100755 --- a/scripts/docs/update_docs.sh +++ b/scripts/docs/update_docs.sh @@ -24,7 +24,8 @@ function run { cd $SITE_DIR # if no changes, don't commit - if [ -z "$(git status --porcelain)" ]; then + if git diff-index --quiet HEAD -- + the echo "-- No changes detected for the following commit, docs not updated." echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1" else