Algolia Docsearch Action #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |