diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 71ead65d8..e3dcbb18f 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -49,5 +49,4 @@ jobs: cd docs/ git config --global user.name "${{ github.actor }}" git config --global user.email "${{ github.actor }}@users.noreply.github.com" - git commit -s -am "Update C++ API docs from commit ${{ github.sha }} on main" - git push + git add docs/apidocs/cpp_apidocs/ && git commit -s -am "Update C++ API docs from commit ${{ github.sha }} on main" && git push || true