Skip to content

chore: 🧹 2024-06-07 release: fixes image on landing page to be respon… #19

chore: 🧹 2024-06-07 release: fixes image on landing page to be respon…

chore: 🧹 2024-06-07 release: fixes image on landing page to be respon… #19

name: 🚜 Search (Indexer)
on:
push:
branches: [ 'main' ]
jobs:
meilisearch:
name: MeiliSearch Service
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Dependencies
run: npm ci
- name: Delete indexes
run: |
npm run search:delete_indexes
env:
PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY: ${{ secrets.PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY}}
PUBLIC_MEILISEARCH_HOST: ${{ vars.PUBLIC_MEILISEARCH_HOST }}
- name: Blog Indexation
run: |
npm run search:index_blog
env:
PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY: ${{ secrets.PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY}}
PUBLIC_MEILISEARCH_HOST: ${{ vars.PUBLIC_MEILISEARCH_HOST }}
- name: Docs Indexation
run: |
npm run search:index_docs
env:
PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY: ${{ secrets.PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY}}
PUBLIC_MEILISEARCH_HOST: ${{ vars.PUBLIC_MEILISEARCH_HOST }}
- name: Guides Indexation
run: |
npm run search:index_guides
env:
PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY: ${{ secrets.PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY}}
PUBLIC_MEILISEARCH_HOST: ${{ vars.PUBLIC_MEILISEARCH_HOST }}
- name: References Indexation
run: |
npm run search:index_references
env:
PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY: ${{ secrets.PRIVATE_MEILISEARCH_DOCUMENTS_ADMIN_API_KEY}}
PUBLIC_MEILISEARCH_HOST: ${{ vars.PUBLIC_MEILISEARCH_HOST }}