Skip to content

Conversation

@sw360cab
Copy link
Contributor

@sw360cab sw360cab commented Apr 17, 2025

The purpose of this is centralizing Meilisearch API Key value into a single place

  • netlify.toml

Rather than having it in multiple spots (toml config file and in the workflow deploying to Netlify)

Currently this has been done only for the variable:

  • MEILISEARCH_API_KEY

Which is likely to change or be rotated.
But it can be easily improved by adding all the others:

  • MEILISEARCH_URL
  • MEILISEARCH_INDEX_UID

which are unlikely to be changed in this context.

Fixes #55

@sw360cab sw360cab requested review from a team and alexiscolin as code owners April 17, 2025 15:39
@sw360cab sw360cab self-assigned this Apr 17, 2025
@sw360cab sw360cab merged commit 12d3c83 into main Apr 17, 2025
@sw360cab sw360cab deleted the fix/mlsearch-key branch April 22, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Env vars duplicated for Netlify Github Action

3 participants