diff --git a/.github/workflows/deploy-pr-preview.yml b/.github/workflows/deploy-pr-preview.yml index 5ff7fb10d56..8ed7718cd55 100644 --- a/.github/workflows/deploy-pr-preview.yml +++ b/.github/workflows/deploy-pr-preview.yml @@ -11,15 +11,28 @@ on: jobs: deploy-pr-preview: - if: ${{ ! github.event.pull_request.head.repo.fork }} + if: "!github.event.pull_request.head.repo.fork" uses: grafana/writers-toolkit/.github/workflows/deploy-preview.yml@main with: - sha: ${{ github.event.pull_request.head.sha }} branch: ${{ github.head_ref }} event_number: ${{ github.event.number }} - title: ${{ github.event.pull_request.title }} repo: mimir - source_directory: docs/sources/mimir - website_directory: content/docs/mimir/latest - relative_prefix: /docs/mimir/latest/ - index_file: true + sha: ${{ github.event.pull_request.head.sha }} + sources: | + [ + { + "index_file": null, + "relative_prefix": "/docs/mimir/v2.15.x/", + "repo": "mimir", + "source_directory": "docs/sources/mimir", + "website_directory": "content/docs/mimir/v2.15.x" + }, + { + "index_file": "content/docs/helm-charts/mimir-distributed/_index.md", + "relative_prefix": "/docs/helm-charts/mimir-distributed/latest/", + "repo": "mimir", + "source_directory": "docs/sources/helm-charts/mimir-distributed", + "website_directory": "content/docs/helm-charts/mimir-distributed/latest" + } + ] + title: ${{ github.event.pull_request.title }} diff --git a/docs/sources/mimir/configure/_index.md b/docs/sources/mimir/configure/_index.md index bf13aed9045..9b9b3b5fa1c 100644 --- a/docs/sources/mimir/configure/_index.md +++ b/docs/sources/mimir/configure/_index.md @@ -12,6 +12,6 @@ weight: 30 # Configure Grafana Mimir -Grafana Mimir's flexibility is achieved through configuration. +Tune the Grafana Mimir configuration to suit your environment. {{< section menuTitle="true" >}}