diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 313371402..2edfbc926 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -118,4 +118,8 @@ jobs: git add --all git commit -m "docs.yml" + # suppress error exit code & return if nothing to commit + retVal=$? + if [ $retVal -eq 1 ]; then exit 0 ; fi + git push origin "$BRANCH" \ No newline at end of file