Skip to content

Commit

Permalink
update algolia settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mkflow27 committed Jun 29, 2024
1 parent 698b775 commit 318b3e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/algolia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: Algolia Indexer
on:
push:
branches:
- v3-outline
- update-algolia

jobs:
algolia_indexer:
runs-on: ubuntu-latest
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_APP_ID }}
API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
INDEX_NAME: 'v3-docs'
CONFIG: '{ "index_name": "v3-docs", "start_urls": ["https://docs-v3.balancer.fi/"], "selectors": { "lvl0": "#app header h1", "lvl1": ".page h1", "lvl2": ".page h2", "lvl3": ".page h3", "lvl4": ".page h4", "lvl5": ".page h5", "text": ".page .row theme-default-content col div p, .page li, .page td" }}'
INDEX_NAME: 'Test'
CONFIG: '{ "index_name": "Test", "start_urls": ["https://docs-v3.balancer.fi/"], "selectors": { "lvl0": "#app header h1", "lvl1": ".page h1", "lvl2": ".page h2", "lvl3": ".page h3", "lvl4": ".page h4", "lvl5": ".page h5", "text": ".page .row theme-default-content col div p, .page li, .page td" }}'
name: Index Algolia
steps:
- name: Algolia Docsearch Action
Expand Down
2 changes: 1 addition & 1 deletion theme/src/client/components/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ onMounted(() => {
docsearch({
appId: 'BHJFZH2L5I',
apiKey: 'fc280a2048eb40eff54b4d5e7fa04fa4',
indexName: 'v3-docs',
indexName: 'Test',
inputSelector: '#algolia-search-input',
handleSelected: (input, event, suggestion) => {
const { pathname, hash } = new URL(suggestion.url);
Expand Down

0 comments on commit 318b3e1

Please sign in to comment.