From 1c20a2ee63f912383f4dec64ac19b75c55e86c27 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sat, 17 Dec 2022 21:28:43 +0100 Subject: [PATCH] Update charts-release.yaml Signed-off-by: Kjeld Schouten-Lebbing --- .github/workflows/charts-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 02318a70758..4a67df75cbe 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -109,10 +109,10 @@ jobs: echo "" >> website/docs/charts/${train}/${chart}/index.md # Iterate over all files in the docs directory - for file in website/docs/charts/${train}/${chart}/*; do + for file in charts/${train}/${chart}/docs/*; do # Extract the file name and first line from each file filename=$(basename "${file}") - title=$(head -n 1 "${file}" | sed 's/#//') + title=$(head -n 1 "${file}" | sed 's/# //') # Create a markdown link using the file name and title link="[${title}](/${filename})"