Skip to content

Commit 1941922

Browse files
authored
Merge pull request #1046 from EnterpriseDB/chore/evan/switch-algolia-accounts
Switch to EDB's algolia account Former-commit-id: 5e3fbd6
2 parents 75baccb + 5b38ec3 commit 1941922

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/deploy-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
NODE_OPTIONS: --max-old-space-size=4096
4848
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
4949
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
50-
ALGOLIA_INDEX_NAME: edb-staging
50+
ALGOLIA_INDEX_NAME: edb-docs-staging
5151
INDEX_ON_BUILD: true
5252

5353
- name: Netlify deploy

.github/workflows/deploy-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
NODE_OPTIONS: --max-old-space-size=4096
4848
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
4949
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
50-
ALGOLIA_INDEX_NAME: edb
50+
ALGOLIA_INDEX_NAME: edb-docs
5151
GTM_ID: GTM-5W8M67
5252
INDEX_ON_BUILD: true
5353

gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const ANSI_STOP = '\033[0m';
1111

1212
const isBuild = process.env.NODE_ENV === 'production';
1313
const isProduction = process.env.APP_ENV === 'production';
14-
const algoliaIndex = process.env.ALGOLIA_INDEX_NAME || 'edb-staging';
14+
const algoliaIndex = process.env.ALGOLIA_INDEX_NAME || 'edb-docs-staging';
1515

1616
/******** Sourcing *********/
1717
const sourceFilename = isBuild ? 'build-sources.json' : 'dev-sources.json';

src/components/search/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { SlashIndicator, ClearButton, SearchPane } from './formComps';
1616
import useSiteMetadata from '../../hooks/use-sitemetadata';
1717

1818
const searchClient = algoliasearch(
19-
'NQVJGNW933',
20-
'3089ae4f190ea7c91590336eeba5f0ea',
19+
'HXNAF5X3I8',
20+
'fb05499144f0399f5985485b624a0290',
2121
);
2222

2323
const useClickOutside = (ref, handler, events) => {

src/pages/404.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import useSiteMetadata from '../hooks/use-sitemetadata';
1414
import usePathPrefix from '../hooks/use-path-prefix';
1515

1616
const searchClient = algoliasearch(
17-
'NQVJGNW933',
18-
'3089ae4f190ea7c91590336eeba5f0ea',
17+
'HXNAF5X3I8',
18+
'fb05499144f0399f5985485b624a0290',
1919
);
2020

2121
const buildQuery = (pathname, pathPrefix) => {

src/pages/search.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import {
1313
import useSiteMetadata from '../hooks/use-sitemetadata';
1414

1515
const searchClient = algoliasearch(
16-
'NQVJGNW933',
17-
'3089ae4f190ea7c91590336eeba5f0ea',
16+
'HXNAF5X3I8',
17+
'fb05499144f0399f5985485b624a0290',
1818
);
1919

2020
const Search = (data) => {

0 commit comments

Comments
 (0)