diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 4522df2..90c6723 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -58,7 +58,9 @@ jobs: git config user.name uvmsci git config user.email uvmsci@gmail.com git add mkdocs.yml - git commit -am "docs: updates to version ${FULL_VERSION} in mkdocs.yml" + [ -n "$(git status --porcelain)" ] && \ + git commit -am "docs: updates to version ${FULL_VERSION} in mkdocs.yml" || \ + echo "Building the same version again" - name: Build documentation id: build-with-mkdocs