From f828dbbffb2919ea3acce3789225ab1fd78374bf Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 17 Apr 2024 09:18:57 -0700 Subject: [PATCH] Remove noindex from upload to gh-pages job (#3077) Summary: For some reason this wasn't removed in previous PR. Reviewed By: clee2000 Differential Revision: D56225136 --- .github/workflows/doc-build.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/doc-build.yml b/.github/workflows/doc-build.yml index b25f6cc8653..5a895c04a00 100644 --- a/.github/workflows/doc-build.yml +++ b/.github/workflows/doc-build.yml @@ -98,13 +98,6 @@ jobs: REF_TYPE=${{ github.ref_type }} REF_NAME=${{ github.ref_name }} - # If it's main branch, add noindex tag to all .html files to exclude from Google Search indexing. - REF_NAME=$(echo "${{ github.ref }}") - echo "Ref name: ${REF_NAME}" - if [[ "${{ github.ref }}" == 'refs/heads/main' ]]; then - find docs -name "*.html" -print0 | xargs -0 sed -i '//a \ \ '; - fi - # If building for a release tag, branch, set the branch/tag name # as the target folder in the gh-pages branch. The artifacts created # during the build will be copied over to the target dir in the