diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 9fa908f..a6d4a6c 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -39,5 +39,6 @@ jobs: [ -n "${new_commit_msg:-}" ] && new_commit_msg="${new_commit_msg} " git add install.sh && new_commit_msg="Rebuilt install.sh" && commit_msg="${new_commit_msg:-}" fi - git commit -am "${commit_msg}" && git push + + [ -n "${commit_msg:-}" ] && git commit -am "${commit_msg}" && git push fi