diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index aff19b7b83..aaf88211cf 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -81,7 +81,7 @@ jobs: cd build/html touch .nojekyll git add -A --force . - git commit -m "Automated documentation rebuild" + git commit -m "Automated documentation rebuild" || true # allow this to fail if no changes were made - name: Check documentation links continue-on-error: true @@ -89,12 +89,6 @@ jobs: cd documentation sphinx-build -b linkcheck -d build/doctrees/ source/ build/linkcheck | grep -e broken -e redirect | grep -v -e 'redirect https://doi.org/' -e 'broken https://doi.org/.* 403 Client Error: Forbidden' - - name: Test Publish Documentation - if: ${{ github.event_name != 'push' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }} - run: | - cd documentation/build/html - git push --dry-run origin gh-pages - - name: Publish Updated Documentation if: ${{ github.event_name == 'push' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }} run: |