fix(ci): dont fail on docs errors
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
21
.github/workflows/charts-release.yaml
vendored
21
.github/workflows/charts-release.yaml
vendored
@@ -230,16 +230,17 @@ jobs:
|
||||
echo "---"
|
||||
echo "title: some title"
|
||||
echo "---"
|
||||
fi
|
||||
echo "Not bad title found, continuing..."
|
||||
title=$(cat "${file}" | grep "title: " | sed 's/title: //' | head -n 1)
|
||||
echo "The title is: ${title}"
|
||||
# Create a markdown link using the file name and title
|
||||
link="[**${title}**](./${filename})"
|
||||
echo "The link is: ${link}"
|
||||
if [ ${filename} != "index.md" ]; then
|
||||
# Append the link to the index.md file
|
||||
echo "- ${link}" >> website/docs/charts/${train}/${chart}/index.md
|
||||
elif
|
||||
echo "Not bad title found, continuing..."
|
||||
title=$(cat "${file}" | grep "title: " | sed 's/title: //' | head -n 1)
|
||||
echo "The title is: ${title}"
|
||||
# Create a markdown link using the file name and title
|
||||
link="[**${title}**](./${filename})"
|
||||
echo "The link is: ${link}"
|
||||
if [ ${filename} != "index.md" ]; then
|
||||
# Append the link to the index.md file
|
||||
echo "- ${link}" >> website/docs/charts/${train}/${chart}/index.md
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user