Skip to content

meilisearch unifiex api key #132

meilisearch unifiex api key

meilisearch unifiex api key #132

Workflow file for this run

name: Deploy docs to netlify
on:
workflow_dispatch: {}
push:
branches:
- main
- fix/mlsearch-key
jobs:
deploy-netlify:
name: deploy-to-netlify
runs-on: ubuntu-latest
permissions:
contents: read
deployments: read
steps:
- uses: actions/checkout@v4
- name: Set Node.js 20.18
uses: actions/setup-node@v4
with:
node-version: 20.18
- name: Gather Meilisearch APi Key from Netlify config file
run: |
API_KEY=$(grep 'MEILISEARCH_API_KEY' netlify.toml | cut -d '=' -f2 | tr -d ' "')
echo "MEILISEARCH_API_KEY=$API_KEY" >> "$GITHUB_ENV"
- name: Build docs.gno.land
working-directory: ./docusaurus
run: |
echo "$MEILISEARCH_API_KEY"####
# yarn run download-docs
# yarn install
# yarn build
env:
MEILISEARCH_URL: "https://docs-search.gnoteam.com"
MEILISEARCH_INDEX_UID: "production"
# MEILISEARCH_API_KEY: "7a646d537285a92f436b8f2fc000e1482eb82a563f0372e210a3535764338cd7"
# - name: Deploy to netlify
# uses: netlify/actions/cli@master
# with:
# args: deploy --site gno-docs --prod
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}