attempting to eliminate the possibility for false positives when checking for docs changes
This commit is contained in:
parent
00e68ca990
commit
13216d1f04
@ -23,10 +23,8 @@ function run {
|
||||
# CD in to the site dir to commit updated docs
|
||||
cd $SITE_DIR
|
||||
|
||||
CHANGES=$(git status --porcelain)
|
||||
|
||||
# if no changes, don't commit
|
||||
if [[ "$CHANGES" == "" ]]; then
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
echo "-- No changes detected for the following commit, docs not updated."
|
||||
echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user