Update charts-release.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten-Lebbing 2022-11-21 10:15:56 +01:00 committed by GitHub
parent 740ca41eaf
commit 28eabd3673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ jobs:
mkdir -p website/docs/charts/${train}/${chart} || echo "chart path already exists, continuing..." mkdir -p website/docs/charts/${train}/${chart} || echo "chart path already exists, continuing..."
yes | cp -rf charts/${train}/${chart}/docs/* website/docs/charts/${train}/${chart}/ 2>/dev/null || : yes | cp -rf charts/${train}/${chart}/docs/* website/docs/charts/${train}/${chart}/ 2>/dev/null || :
yes | cp -f templates/docs/index.md website/docs/charts/${train}/${chart}/index.md 2>/dev/null || : yes | cp -f templates/docs/index.md website/docs/charts/${train}/${chart}/index.md 2>/dev/null || :
sed -i "s/APPNAME/${chart}/" "templates/docs/index.md" || echo "failed to add index header..." sed -i "s/APPNAME/${chart}/" "website/docs/charts/${train}/${chart}/index.md" || echo "failed to add index header..."
mv -f tmp/website/docs/charts/${train}/${chart}/CHANGELOG.md website/docs/charts/${train}/${chart}/CHANGELOG.md 2>/dev/null || : mv -f tmp/website/docs/charts/${train}/${chart}/CHANGELOG.md website/docs/charts/${train}/${chart}/CHANGELOG.md 2>/dev/null || :
yes | cp -rf charts/${train}/${chart}/icon.png website/static/img/hotlink-ok/chart-icons/${chart}.png 2>/dev/null || : yes | cp -rf charts/${train}/${chart}/icon.png website/static/img/hotlink-ok/chart-icons/${chart}.png 2>/dev/null || :
# Append SCALE changelog to actual changelog # Append SCALE changelog to actual changelog