From b0d7808b72a350480ca348d39f090dcc1c9a493f Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 31 Dec 2023 16:58:52 +0200 Subject: [PATCH] chore(scripts): more logging Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> --- .github/workflows/charts-release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 0a0092614bf..918be6141ef 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -239,7 +239,9 @@ jobs: for file in website/docs/charts/${train}/${chart}/*.md; do # Extract the file name and first line from each file filename=$(basename "${file}") + echo "Found doc file: ${file}" title=$(cat "${file}" | grep "title: " | sed 's/title: //') + echo "The title is: ${title}" # Create a markdown link using the file name and title link="[**${title}**](${filename%.md})" if [ ${filename} != "index.md" ]; then