From 7bd9c5b25775f0796b09d80e686da9cf53866886 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Wed, 1 May 2024 22:16:13 +0300 Subject: [PATCH] chore(docs): also account for mdx --- .github/workflows/charts-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 9d808b5648b..68654db6443 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -218,7 +218,7 @@ jobs: echo "" >> website/src/content/docs/charts/${train}/${chart}/index.md echo "Iterating over all files in the docs directory..." # Iterate over all files in the docs directory - for file in website/src/content/docs/charts/${train}/${chart}/*.md; do + for file in website/src/content/docs/charts/${train}/${chart}/*.{md,mdx}; do # Extract the file name and first line from each file filename=$(basename "${file}") echo "Found doc file: ${file}"