From 5cbffff11926da6bba012dd9099906b4992ae954 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Tue, 4 Feb 2025 17:22:26 +0000 Subject: [PATCH] Use Mimir version referenced in Helm charts documentation Signed-off-by: Jack Baldry --- .github/workflows/deploy-pr-preview.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-pr-preview.yml b/.github/workflows/deploy-pr-preview.yml index ce7b1e7ec70..d5b68a9ecfd 100644 --- a/.github/workflows/deploy-pr-preview.yml +++ b/.github/workflows/deploy-pr-preview.yml @@ -9,6 +9,9 @@ on: paths: - "docs/sources/**" +env: + MIMIR_VERSION: v2.15.x + jobs: deploy-pr-preview: if: "!github.event.pull_request.head.repo.fork" @@ -21,11 +24,11 @@ jobs: sources: | [ { - "index_file": "content/docs/mimir/_index.md", - "relative_prefix": "/docs/mimir/latest/", + "index_file": null, + "relative_prefix": "/docs/mimir/${{ env.MIMIR_VERSION }}/", "repo": "mimir", "source_directory": "docs/sources/mimir", - "website_directory": "content/docs/mimir/latest" + "website_directory": "content/docs/mimir/${{ env.MIMIR_VERSION }}" }, { "index_file": "content/docs/helm-charts/mimir-distributed/_index.md",