From 2754192f7dcf9ce0bb5e0dbb1bff2a07238236a8 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sun, 21 Apr 2024 15:44:47 +0200 Subject: [PATCH] Update charts-release.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/charts-release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index c81cc18a991..cc24a4b4dc9 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -257,7 +257,10 @@ jobs: echo "" >> website/src/content/docs/charts/${train}/${chart}/index.md echo "## Readme Content" >> website/src/content/docs/charts/${train}/${chart}/index.md echo "" >> website/src/content/docs/charts/${train}/${chart}/index.md - tail -n +4 "charts/${train}/${chart}/README.md" >> website/src/content/docs/charts/${train}/${chart}/index.md + tail -n +4 "charts/${train}/${chart}/README.md" >> website/src/content/docs/charts/${train}/${chart}/readmetmp.md + sed -i 's/##/###/' "website/src/content/docs/charts/${train}/${chart}/readmetmp.md" + cat "website/src/content/docs/charts/${train}/${chart}/readmetmp.md" >> "website/src/content/docs/charts/${train}/${chart}/index.md" + rm "website/src/content/docs/charts/${train}/${chart}/readmetmp.md" || echo "couldnt delete readmetmp.md" rm -rf temp || : fi