diff --git a/.github/workflows/doc_build.yml b/.github/workflows/doc_build.yml index 0dea8abfb8..a3d61f7ae6 100644 --- a/.github/workflows/doc_build.yml +++ b/.github/workflows/doc_build.yml @@ -95,7 +95,7 @@ jobs: uses: actions/checkout@v3 with: ref: gh-pages - persist-credentials: false + persist-credentials: true - name: Download artifact uses: actions/download-artifact@v3 with: @@ -133,4 +133,4 @@ jobs: git config user.email 'soumith+bot@pytorch.org' git add "${TARGET_FOLDER}" || true git commit -m "auto-generating sphinx docs" || true - git push -f + git push -f