Skip to content

Merge branch 'main' into product-chains-table #3637

Merge branch 'main' into product-chains-table

Merge branch 'main' into product-chains-table #3637

name: Update algolia index
on: [push]
jobs:
update-prod-index:
if: ${{ github.ref == 'refs/heads/main' }}
name: Update algolia index
runs-on: ubuntu-latest
env:
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
ALGOLIA_WRITE_API_KEY: ${{ secrets.ALGOLIA_WRITE_API_KEY }}
ALGOLIA_INDEX_NAME: docs-ui
defaults:
run:
working-directory: ./
steps:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Dependencies
run: npm i
- name: Build
run: npm run build
- name: Update index
run: npm run update-algolia-index