diff --git a/.ci/deploy-docs.sh b/.ci/deploy-docs.sh index 2209bf7b7..854ca2354 100755 --- a/.ci/deploy-docs.sh +++ b/.ci/deploy-docs.sh @@ -27,5 +27,8 @@ git reset upstream/master touch . git add -A . -git commit -m "Rebuild docs for https://github.com/harfbuzz/harfbuzz/commit/$REVISION" -git push -q upstream HEAD:master + +if [[ $(git status -s) ]]; then + git commit -m "Rebuild docs for https://github.com/harfbuzz/harfbuzz/commit/$REVISION" + git push -q upstream HEAD:master +fi