-
-
Notifications
You must be signed in to change notification settings - Fork 1
21 lines (20 loc) · 833 Bytes
/
update-algolia.yml
File metadata and controls
21 lines (20 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Update Algolia Search Index
on:
workflow_call:
workflow_dispatch:
jobs:
update-algolia:
name: Update Algolia Search Index
runs-on: ubuntu-latest
steps:
- name: Update Algolia search index
uses: algolia/algoliasearch-crawler-github-actions@v1
id: crawler_push
with:
crawler-name: "Docs"
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
# "If you already have a crawler set up in Algolia, you can skip them. But the IDE says no"
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
site-url: "https://docs.bloomlibrary.org"