Update charts-release.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois
2022-12-22 00:58:16 +02:00
committed by GitHub
parent 06f98c4d38
commit 6335f8df2b

View File

@@ -162,7 +162,7 @@ jobs:
title=$(head -n 1 "${file}" | sed 's/# //')
# Create a markdown link using the file name and title
link="[**${title}**](charts/${train}/${chart}/${filename%.md})"
link="[**${title}**](${filename%.md})"
if [ ${filename} != "index.md" ]; then
# Append the link to the index.md file
echo "- ${link}" >> website/docs/charts/${train}/${chart}/index.md