Skip to content

Commit a1ad1b6

Browse files
authored
Merge pull request #1174 from ethereum/algolia-prod-index
Update to prod search index
2 parents 04b85e0 + b03f0d9 commit a1ad1b6

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/docsearch-crawl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
uses: actions/checkout@v2
1414
- name: Crawl the site
1515
env:
16-
APPLICATION_ID: ${{ secrets.DEV_DOCSEARCH_APP_ID }}
17-
API_KEY: ${{ secrets.DEV_DOCSEARCH_API_KEY }}
16+
APPLICATION_ID: ${{ secrets.DOCSEARCH_APP_ID }}
17+
API_KEY: ${{ secrets.DOCSEARCH_API_KEY }}
1818
run: |
1919
docker run \
2020
-e APPLICATION_ID -e API_KEY \

.github/workflows/docsearchConfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"index_name": "dev-ethereum-org",
2+
"index_name": "prod-ethereum-org",
33
"start_urls": [
44
{
55
"url": "https://ethereum.org/(?P<lang>.*?)/",

src/components/Search/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,8 @@ const PageHit = (clickHandler) => ({ hit }) => {
147147
)
148148
}
149149

150-
// TODO update to `prod-ethereum-org` once tested
151150
const indices = [
152-
{ name: `dev-ethereum-org`, title: `Pages`, hitComp: `PageHit` },
151+
{ name: `prod-ethereum-org`, title: `Pages`, hitComp: `PageHit` },
153152
]
154153

155154
// Validate agaisnt basic requirements of an ETH address

0 commit comments

Comments
 (0)