pages/EagleEye/home add-meta-description (PR from TinaCMS) (#706) #76
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: Rebuild Algolia Search Indices | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} | |
| ALGOLIA_WRITE_API_KEY: ${{ secrets.ALGOLIA_WRITE_API_KEY }} | |
| NEXT_PUBLIC_PRODUCT_LIST: ${{ vars.NEXT_PUBLIC_PRODUCT_LIST }} | |
| jobs: | |
| rebuild-indices: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.6.0 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Rebuild search indices | |
| run: pnpm rebuild-search-indices |