chore(ci): fix rm on chart-release (#3155)
* chore(ci): fix rm on chart-release * move app specific guide icons in the repo * Update charts-release.yaml * Update charts-release.yaml * Update charts-release.yaml Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
@@ -87,9 +87,6 @@ jobs:
|
||||
#!/bin/bash
|
||||
CHARTS=(${{ steps.collect-changes.outputs.modifiedChartsAfterTag }})
|
||||
echo "Removing Chart Docs prior to regeneration..."
|
||||
for deltrain in stable SCALE incubator games enterprise develop non-free deprecated dependency core; do
|
||||
rm -rf website/charts/${deltrain}
|
||||
done
|
||||
mkdir -p website/static/img/chart-icons || echo "chart-icons path already exists, continuing..."
|
||||
for i in "${CHARTS[@]}"
|
||||
do
|
||||
@@ -98,6 +95,7 @@ jobs:
|
||||
train=${chart_parts[0]}
|
||||
chart=${chart_parts[1]}
|
||||
echo "copying docs to website for ${chart}"
|
||||
rm -rf website/docs/charts/*/${chart}
|
||||
mkdir -p website/docs/charts/${train}/${chart} || echo "chart path already exists, continuing..."
|
||||
yes | cp -rf charts/${train}/${chart}/README.md website/docs/charts/${train}/${chart}/index.md 2>/dev/null || :
|
||||
yes | cp -rf charts/${train}/${chart}/CHANGELOG.md website/docs/charts/${train}/${chart}/CHANGELOG.md 2>/dev/null || :
|
||||
|
||||
Reference in New Issue
Block a user