Skip to content

Algolia Docsearch Action #4

Algolia Docsearch Action

Algolia Docsearch Action #4

name: Algolia Docsearch Action
on:
schedule:
- cron: "0 2 15 * *"
jobs:
algolia:
runs-on: ubuntu-latest
name: algolia-crawler
steps:
- uses: actions/checkout@v2
- name: crawling
# the `uses' attribute must be a path, a Docker image, or owner/repo@ref
uses: darrenjennings/algolia-docsearch-action@master
with:
algolia_api_key: ${{ secrets.ALGOLIA_API_KEY }}
algolia_application_id: ${{ secrets.ALGOLIA_APPLICATION_ID }}
# needs to be inside $GITHUB_WORKSPACE from actions/checkout step
file: docs/wiki_update.json