chore(ci): updating CI scripts

This commit is contained in:
Ionitron
2016-12-16 14:59:11 -06:00
parent 3fffab6d6c
commit 98d22a3079
6 changed files with 10 additions and 9 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ function run {
cd $SITE_DIR
# if no changes, don't commit
if ! git diff-index --quiet HEAD --
CHANGED=$(git diff-index --name-only HEAD --)
if [ -z "$CHANGED" ];
then
echo "-- No changes detected for the following commit, docs not updated."
echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"