Skip to content

Commit 4ace3f8

Browse files
committed
MNT: Fix docs build script
1 parent 04960e4 commit 4ace3f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/deploy-gh-pages.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ cp -R doc/build/* gh-pages/doc/
2626
cd gh-pages
2727
sitemap
2828
git add *
29-
git diff --staged --quiet && echo "$0: No changes to commit." && exit 0
29+
if git diff --staged --quiet; then
30+
echo "$0: No changes to commit."
31+
exit 0
32+
fi
3033
git commit -a -m "CI: Update docs for $TRAVIS_TAG ($head)"
3134
git push

0 commit comments

Comments
 (0)