diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index e27efcd1f08..220566b266f 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -101,7 +101,6 @@ jobs: uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main secrets: inherit with: - secrets-env: DOC_BUILD_GITHUB_TOKEN repository: pytorch/executorch download-artifact: docs ref: gh-pages @@ -135,9 +134,6 @@ jobs: mv "${RUNNER_ARTIFACT_DIR}"/html/* "${TARGET_FOLDER}" git add "${TARGET_FOLDER}" || true - echo "::add-mask::$SECRET_DOC_BUILD_GITHUB_TOKEN" # Mask the secret in GH logs - git remote set-url origin https://x-access-token:$SECRET_DOC_BUILD_GITHUB_TOKEN@github.com/pytorch/executorch.git - git config user.name 'pytorchbot' git config user.email 'soumith+bot@pytorch.org' git commit -m "Auto-generating sphinx docs" || true