-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (35 loc) · 1.36 KB
/
algolia.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Algolia Indexer
on:
push:
branches:
- v3-outline
jobs:
algolia_indexer:
runs-on: ubuntu-latest
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_APP_ID }}
API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
INDEX_NAME: 'v3-docs'
# TODO: Rework indexing
CONFIG: '{ "index_name": "v3-docs",
"start_urls": [
"https://docs-v3.balancer.fi/",
"https://docs-v3.balancer.fi/integration-guides/",
"https://docs-v3.balancer.fi/build-a-custom-amm/",
"https://docs-v3.balancer.fi/developer-reference/",
"https://docs-v3.balancer.fi/concepts/core-concepts/introduction.html",
"https://docs-v3.balancer.fi/partner-onboarding/onboarding-overview/introduction.html",
"https://docs-v3.balancer.fi/data-and-analytics/"],
"selectors": {
"lvl0": "#app header h1",
"lvl1": ".page h1",
"lvl2": ".page h2",
"lvl3": ".page h3",
"lvl4": ".page h4",
"lvl5": ".page h5",
"text": ".page p, .page li, .page td" }}'
name: Index Algolia
steps:
- name: Algolia Docsearch Action
id: algolia
uses: adapttive/[email protected]