From 0d4f45b19a2024054c2900d1a392ab41cbab7d39 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 9 Aug 2021 20:59:09 +0000 Subject: [PATCH 1/3] update search indexes --- lib/search/indexes/github-docs-ghae-pt-records.json.br | 4 ++-- lib/search/indexes/github-docs-ghae-pt.json.br | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/search/indexes/github-docs-ghae-pt-records.json.br b/lib/search/indexes/github-docs-ghae-pt-records.json.br index d8d0df5a2b..487dd119bb 100644 --- a/lib/search/indexes/github-docs-ghae-pt-records.json.br +++ b/lib/search/indexes/github-docs-ghae-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:53fbaf8a8a8f086d4aa8e2925b219b72ba501419038f6dacfa09b6935ab3965e -size 25491 +oid sha256:f330fd54d65f8c163190ad1fea5896af65d5e94f888f941f15ed347948929936 +size 25410 diff --git a/lib/search/indexes/github-docs-ghae-pt.json.br b/lib/search/indexes/github-docs-ghae-pt.json.br index 78b20eac11..9559d8d416 100644 --- a/lib/search/indexes/github-docs-ghae-pt.json.br +++ b/lib/search/indexes/github-docs-ghae-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:434009180c715be80430eafab8ca1f8e4fb823edf5944bb6a2701f16cb3f61fc -size 147723 +oid sha256:3b2663b66e0335e8fcb8d4684fbce5c0e8d6fb121e3e740f9b12bb00d44444a3 +size 147145 From 22ad4f9f2d891988b5a0eca26d35741515dbc848 Mon Sep 17 00:00:00 2001 From: Hannah Gould <44214179+hagould@users.noreply.github.com> Date: Mon, 9 Aug 2021 14:16:25 -0700 Subject: [PATCH 2/3] add tip to `error-key-already-in-use` to force a specific ssh key (#20690) --- .../troubleshooting-ssh/error-key-already-in-use.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/github/authenticating-to-github/troubleshooting-ssh/error-key-already-in-use.md b/content/github/authenticating-to-github/troubleshooting-ssh/error-key-already-in-use.md index 43bfa012cc..608a41c179 100644 --- a/content/github/authenticating-to-github/troubleshooting-ssh/error-key-already-in-use.md +++ b/content/github/authenticating-to-github/troubleshooting-ssh/error-key-already-in-use.md @@ -24,6 +24,13 @@ $ ssh -T -ai ~/.ssh/id_rsa git@{% data variables.command_line.codeblock The *username* in the response is the {% data variables.product.product_name %} account that the key is currently attached to. If the response looks something like "username/repo", the key has been attached to a repository as a [*deploy key*](/guides/managing-deploy-keys#deploy-keys). + +To force SSH to use only the key provided on the command line, use `-o` to add the `IdentitiesOnly=yes` option: + +```shell +$ ssh -v -o "IdentitiesOnly=yes" -i ~/.ssh/id_rsa git@{% data variables.command_line.codeblock %} +``` + ## Fixing the issue To resolve the issue, first remove the key from the other account or repository and then [add it to your account](/articles/adding-a-new-ssh-key-to-your-github-account). From eecc1113ccbd89f7996ae068a0fc9d5edf4ce190 Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Mon, 9 Aug 2021 17:51:57 -0400 Subject: [PATCH 3/3] remove lanuage and version (#20734) --- .github/workflows/sync-search-indices.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-search-indices.yml b/.github/workflows/sync-search-indices.yml index 24ff173955..721ec557f7 100644 --- a/.github/workflows/sync-search-indices.yml +++ b/.github/workflows/sync-search-indices.yml @@ -52,7 +52,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # TODO remove version and language after first successful run to test - run: VERSION=github-ae@latest LANGUAGE=pt npm run sync-search + run: npm run sync-search - name: Update private docs repository search indexes # Git pre-push hooks push the LFS objects, so if you don't run them and