Skip to content
Snippets Groups Projects
Commit 9dc203d1 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

update package

parent 6bf49105
No related branches found
No related tags found
No related merge requests found
Pipeline #127340 waiting for manual action with stages
in 19 minutes and 7 seconds
......@@ -137,7 +137,9 @@ def get_env_var(
keys = client.get_keys()
api_key = [res.key for res in keys.results if res.name == "Default Search API Key"]
print(ctx.obj.host)
if len(api_key) == 1:
with open(output, "a") as outfile:
outfile.write(f"MEILI_HOST={ctx.obj.host}\n")
outfile.write(f"MEILI_API_KEY={api_key[0]}\n")
print(ctx.obj.host)
outfile.write(f"MEILI_HOST='{ctx.obj.host}'\n")
outfile.write(f"MEILI_API_KEY='{api_key[0]}'\n")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment