1
0
mirror of https://github.com/minio/docs.git synced 2025-04-19 21:02:14 +03:00
docs/sync-minio-server-docs.sh
Ravind Kumar a077c6b9c5
DOCS-987: Fixing prometheus metrics to pull from Minio Server docs list (#1003)
---------

Co-authored-by: Andrea Longo <feorlen@users.noreply.github.com>
2023-09-15 12:57:30 -04:00

12 lines
303 B
Bash
Executable File

#!/bin/bash
set -e
set -x
function main() {
curl --retry 10 -Ls https://raw.githubusercontent.com/minio/minio/master/docs/metrics/prometheus/list.md | csplit - /"# Bucket Metrics"/
mv xx00 source/includes/common-metrics-cluster.md
mv xx01 source/includes/common-metrics-bucket.md
}
main "$@"