Skip to content

Merge pull request #118 from balancer/architecture-changes #50

Merge pull request #118 from balancer/architecture-changes

Merge pull request #118 from balancer/architecture-changes #50

Workflow file for this run

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/algolia-docsearch-action@1.1.1