1
0
mirror of synced 2026-01-07 09:01:31 -05:00

Switch from docs-internal.popular-pages to docs-internal-data (#50783)

This commit is contained in:
Peter Bengtsson
2024-05-28 07:59:00 -04:00
committed by GitHub
parent 0f7acacf61
commit 78d8a8f0d4
5 changed files with 65 additions and 30 deletions

View File

@@ -115,13 +115,13 @@ jobs:
- name: Check out repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Clone docs-internal.popular-pages
- name: Clone docs-internal-data
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: github/docs-internal.popular-pages
repository: github/docs-internal-data
# This works because user `docs-bot` has read access to that private repo.
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
path: popular-pages
path: docs-internal-data
- name: Clone all translations
if: ${{ matrix.language != 'en' }}
@@ -170,8 +170,8 @@ jobs:
VERSION: ${{ inputs.version }}
# The sync-search-index recognizes this env var if you don't
# use the `--popular-pags <PATH>` option.
POPULAR_PAGES_JSON: popular-pages/records/popular-pages.json
# use the `--docs-internal-data <PATH>` option.
DOCS_INTERNAL_DATA: docs-internal-data
run: |
mkdir /tmp/records

View File

@@ -42,13 +42,13 @@ jobs:
- name: Check out repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Clone docs-internal.popular-pages
- name: Clone docs-internal-data
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: github/docs-internal.popular-pages
repository: github/docs-internal-data
# This works because user `docs-bot` has read access to that private repo.
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
path: popular-pages
path: docs-internal-data
- uses: ./.github/actions/setup-elasticsearch
@@ -89,8 +89,8 @@ jobs:
THROW_ON_EMPTY: false
# The sync-search-index recognizes this env var if you don't
# use the `--popular-pags <PATH>` option.
POPULAR_PAGES_JSON: popular-pages/records/popular-pages.json
# use the `--docs-internal-data <PATH>` option.
DOCS_INTERNAL_DATA: docs-internal-data
run: |
mkdir /tmp/records