cut down on trains and copy to truecharts instead of charts

This commit is contained in:
Kjeld Schouten
2025-10-10 10:47:21 +02:00
parent c96feb795d
commit 30fbfba1cb
223 changed files with 5 additions and 5 deletions
+5 -5
View File
@@ -196,16 +196,16 @@ jobs:
./temp/clustertool charts genchartlist ./charts
mv -f charts.json website/src/assets/charts.json
mv -f ./website/src/content/docs/charts/description-list.mdx ./description-list.mdx
mv -f ./website/src/content/docs/truecharts/description-list.mdx ./description-list.mdx
echo "Copying changelogs to docs"
rm -rf ./website/src/content/docs/charts/
mkdir -p ./website/src/content/docs/charts/
mv -f ./description-list.mdx ./website/src/content/docs/charts/description-list.mdx
rm -rf ./website/src/content/docs/truecharts/stable ./website/src/content/docs/truecharts/incubator ./website/src/content/docs/truecharts/library
mkdir -p ./website/src/content/docs/truecharts/
mv -f ./description-list.mdx ./website/src/content/docs/truecharts/description-list.mdx
mkdir -p ./changelogs
# Check if there are any directories in changelogs
if [ -n "$(find ./changelogs -mindepth 1 -type d)" ]; then
cp -r ./changelogs/** ./website/src/content/docs/charts/
cp -r ./changelogs/** ./website/src/content/docs/truecharts/
else
echo "No directories in ./changelogs. Skipping copy."
fi