diff --git a/.github/workflows/update-docs.yaml b/.github/workflows/update-docs.yaml index 1718b762f..02dde9188 100644 --- a/.github/workflows/update-docs.yaml +++ b/.github/workflows/update-docs.yaml @@ -86,10 +86,12 @@ jobs: run: | cp -f ${{ runner.temp }}/README.md . cp -fr ${{ runner.temp }}/charts ./ - git add README.md - git add charts/*/README.md - git commit -S -m "Synchronize docs" - git push origin gh-pages + if [[ -n $(git status --porcelain --untracked-files=no) ]]; then + git add README.md + git add charts/*/README.md + git commit -S -m "Synchronize docs" + git push origin gh-pages + fi env: GH_TOKEN: "${{ secrets.VM_BOT_GH_TOKEN }}" GITHUB_TOKEN: "${{ secrets.VM_BOT_GH_TOKEN }}" diff --git a/charts/victoria-logs-single/_changelog.md b/charts/victoria-logs-single/_changelog.md index 65b9d8378..5e29958b4 100644 --- a/charts/victoria-logs-single/_changelog.md +++ b/charts/victoria-logs-single/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-logs-single-changelog - parent: helm-victoria-logs-single -url: /helm/victoria-logs-single/changelog + identifier: helm-victorialogs-single-changelog + parent: helm-victorialogs-single +url: /helm/victorialogs-single/changelog aliases: - - /helm/victoria-logs-single/changelog/index.html + - /helm/victorialogs-single/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-agent/_changelog.md b/charts/victoria-metrics-agent/_changelog.md index e9b1a9295..fdcc6864b 100644 --- a/charts/victoria-metrics-agent/_changelog.md +++ b/charts/victoria-metrics-agent/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-agent-changelog - parent: helm-victoria-metrics-agent -url: /helm/victoria-metrics-agent/changelog + identifier: helm-victoriametrics-agent-changelog + parent: helm-victoriametrics-agent +url: /helm/victoriametrics-agent/changelog aliases: - - /helm/victoria-metrics-agent/changelog/index.html + - /helm/victoriametrics-agent/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-alert/_changelog.md b/charts/victoria-metrics-alert/_changelog.md index 92b71cfb7..bbb77112f 100644 --- a/charts/victoria-metrics-alert/_changelog.md +++ b/charts/victoria-metrics-alert/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-alert-changelog - parent: helm-victoria-metrics-alert -url: /helm/victoria-metrics-alert/changelog + identifier: helm-victoriametrics-alert-changelog + parent: helm-victoriametrics-alert +url: /helm/victoriametrics-alert/changelog aliases: - - /helm/victoria-metrics-alert/changelog/index.html + - /helm/victoriametrics-alert/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-anomaly/_changelog.md b/charts/victoria-metrics-anomaly/_changelog.md index 3f3c5f977..0fab8a3b1 100644 --- a/charts/victoria-metrics-anomaly/_changelog.md +++ b/charts/victoria-metrics-anomaly/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-anomaly-changelog - parent: helm-victoria-metrics-anomaly -url: /helm/victoria-metrics-anomaly/changelog + identifier: helm-victoriametrics-anomaly-changelog + parent: helm-victoriametrics-anomaly +url: /helm/victoriametrics-anomaly/changelog aliases: - - /helm/victoria-metrics-anomaly/changelog/index.html + - /helm/victoriametrics-anomaly/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-auth/_changelog.md b/charts/victoria-metrics-auth/_changelog.md index 360eef570..ba6ff8631 100644 --- a/charts/victoria-metrics-auth/_changelog.md +++ b/charts/victoria-metrics-auth/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-auth-changelog - parent: helm-victoria-metrics-auth -url: /helm/victoria-metrics-auth/changelog + identifier: helm-victoriametrics-auth-changelog + parent: helm-victoriametrics-auth +url: /helm/victoriametrics-auth/changelog aliases: - - /helm/victoria-metrics-auth/changelog/index.html + - /helm/victoriametrics-auth/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-cluster/_changelog.md b/charts/victoria-metrics-cluster/_changelog.md index 03affe6b8..b6427f069 100644 --- a/charts/victoria-metrics-cluster/_changelog.md +++ b/charts/victoria-metrics-cluster/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-cluster-changelog - parent: helm-victoria-metrics-cluster -url: /helm/victoria-metrics-cluster/changelog + identifier: helm-victoriametrics-cluster-changelog + parent: helm-victoriametrics-cluster +url: /helm/victoriametrics-cluster/changelog aliases: - - /helm/victoria-metrics-cluster/changelog/index.html + - /helm/victoriametrics-cluster/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-distributed/_changelog.md b/charts/victoria-metrics-distributed/_changelog.md index 0345ec867..91a7f46b2 100644 --- a/charts/victoria-metrics-distributed/_changelog.md +++ b/charts/victoria-metrics-distributed/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-distributed-changelog - parent: helm-victoria-metrics-distributed -url: /helm/victoria-metrics-distributed/changelog + identifier: helm-victoriametrics-distributed-changelog + parent: helm-victoriametrics-distributed +url: /helm/victoriametrics-distributed/changelog aliases: - - /helm/victoria-metrics-distributed/changelog/index.html + - /helm/victoriametrics-distributed/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-gateway/_changelog.md b/charts/victoria-metrics-gateway/_changelog.md index 6a0d36319..26153f3ad 100644 --- a/charts/victoria-metrics-gateway/_changelog.md +++ b/charts/victoria-metrics-gateway/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-gateway-changelog - parent: helm-victoria-metrics-gateway -url: /helm/victoria-metrics-gateway/changelog + identifier: helm-victoriametrics-gateway-changelog + parent: helm-victoriametrics-gateway +url: /helm/victoriametrics-gateway/changelog aliases: - - /helm/victoria-metrics-gateway/changelog/index.html + - /helm/victoriametrics-gateway/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-k8s-stack/_changelog.md b/charts/victoria-metrics-k8s-stack/_changelog.md index 4c5cd2c3b..79e80b887 100644 --- a/charts/victoria-metrics-k8s-stack/_changelog.md +++ b/charts/victoria-metrics-k8s-stack/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-k8s-stack-changelog - parent: helm-victoria-metrics-k8s-stack -url: /helm/victoria-metrics-k8s-stack/changelog + identifier: helm-victoriametrics-k8s-stack-changelog + parent: helm-victoriametrics-k8s-stack +url: /helm/victoriametrics-k8s-stack/changelog aliases: - - /helm/victoria-metrics-k8s-stack/changelog/index.html + - /helm/victoriametrics-k8s-stack/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-operator/_changelog.md b/charts/victoria-metrics-operator/_changelog.md index 73a18e88b..da8b81623 100644 --- a/charts/victoria-metrics-operator/_changelog.md +++ b/charts/victoria-metrics-operator/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-operator-changelog - parent: helm-victoria-metrics-operator -url: /helm/victoria-metrics-operator/changelog + identifier: helm-victoriametrics-operator-changelog + parent: helm-victoriametrics-operator +url: /helm/victoriametrics-operator/changelog aliases: - - /helm/victoria-metrics-operator/changelog/index.html + - /helm/victoriametrics-operator/changelog/index.html --- {{% content "CHANGELOG.md" %}} diff --git a/charts/victoria-metrics-single/_changelog.md b/charts/victoria-metrics-single/_changelog.md index 0099eccac..5e197a91b 100644 --- a/charts/victoria-metrics-single/_changelog.md +++ b/charts/victoria-metrics-single/_changelog.md @@ -4,10 +4,10 @@ title: CHANGELOG menu: docs: weight: 1 - identifier: helm-victoria-metrics-single-changelog - parent: helm-victoria-metrics-single -url: /helm/victoria-metrics-single/changelog + identifier: helm-victoriametrics-single-changelog + parent: helm-victoriametrics-single +url: /helm/victoriametrics-single/changelog aliases: - - /helm/victoria-metrics-single/changelog/index.html + - /helm/victoriametrics-single/changelog/index.html --- {{% content "CHANGELOG.md" %}}