Update search index #1421
This file contains hidden or 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: Update search index | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: 0 0 * * * | |
| jobs: | |
| updateindex: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install npm modules | |
| run: npm install | |
| - name: Generate index | |
| run: ./indexgen | |
| - name: Commit index | |
| run: | | |
| git config --global user.name "gBot" | |
| git config --global user.email "gbot@liveg.tech" | |
| git add . | |
| git commit --allow-empty -m "[Automated] Update search index" | |
| git push |