Build Search Index #1252
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: Build Search Index | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "5 8,13,18 * * *" | |
jobs: | |
index: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19.x | |
- name: Install dependencies | |
run: cd tools && npm ci | |
- name: Indexing | |
run: cd tools && npm run index | |
- name: Commit and push | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Automated annotations indexing |