Skip to content

update block time (#2984) #19

update block time (#2984)

update block time (#2984) #19

name: index-meilisearch
on:
push:
branches:
- master
workflow_dispatch:
jobs:
index-meilisearch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/**/.cache
${{ github.workspace }}/website/node_modules
key: |
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: cd website && yarn
- name: Index to MeiliSearch
run: cd website && yarn run meilisearch:build-index
env:
MEILI_HOST: ${{ secrets.MEILI_HOST }}
MEILI_MASTER_KEY: ${{ secrets.MEILI_MASTER_KEY }}
MEILI_INDEX_NAME: ${{ secrets.MEILI_INDEX_NAME }}