Skip to content

Commit 7027263

Browse files
committed
MNT: Fix bug in docs deploy.sh script
1 parent 6066ea2 commit 7027263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ mkdir -p gh-pages/doc
1515
cp -R doc/build/* gh-pages/doc/
1616
cd gh-pages
1717
git add *
18-
git diff --quiet && echo "$0: No changes to commit." && exit 0
18+
git diff --staged --quiet && echo "$0: No changes to commit." && exit 0
1919
git commit -a -m "CI: Update docs for $TRAVIS_TAG ($head)"
2020
git push

0 commit comments

Comments
 (0)