From bcc2f5998713916724c13ccdfad271919d8aa870 Mon Sep 17 00:00:00 2001 From: Jacob Szwejbka Date: Mon, 13 Jul 2026 09:04:57 -0700 Subject: [PATCH] Fix docs gh-pages publish authentication --- .github/workflows/doc-build.yml | 4 ---- 1 file changed, 4 deletions(-) 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