diff --git a/docs/book/ci-build.sh b/docs/book/ci-build.sh index f93755a3..3b00bb4e 100755 --- a/docs/book/ci-build.sh +++ b/docs/book/ci-build.sh @@ -48,5 +48,5 @@ git remote set-url --push origin git@github.com:graphql-rust/juniper.git git config --local user.name "Juniper Bot" git config --local user.email "juniper@example.com" git add -A $VERSION -git commit -m "Updated book for $VERSION ***NO_CI***" +git diff-index --quiet HEAD || git commit -m "Updated book for $VERSION ***NO_CI***" git push origin gh-pages