Skip to content

Index Documentation #30623

Index Documentation

Index Documentation #30623

Workflow file for this run

name: Index Documentation
on:
schedule:
- cron: '0 * * * *'
jobs:
index-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install JQ
run: |
sudo apt-get install jq
- name: Index the docs
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_APP_ID }}
API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
run: |
docker run -e APPLICATION_ID=$APPLICATION_ID -e API_KEY=$API_KEY -e "CONFIG=$(cat ./troubleshoot-algolia-config.json | jq -r tostring)" algolia/docsearch-scraper