Skip to content

Reindex Algolia Crawler #14967

Reindex Algolia Crawler

Reindex Algolia Crawler #14967

Workflow file for this run

name: Reindex Algolia Crawler
on:
push:
branches: [ "main" ]
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
reindex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- name: Reindex Algolia Crawler
env:
CRAWLER_API_KEY: ${{secrets.CRAWLER_API_KEY}}
CRAWLER_USER_ID: ${{secrets.CRAWLER_USER_ID}}
CRAWLER_ID: ${{secrets.CRAWLER_ID}}
run: npm run algolia