move docs to truetech

This commit is contained in:
Kjeld Schouten
2025-10-15 21:26:26 +02:00
parent 3ef4d5ef38
commit caa8235c9c
2 changed files with 10 additions and 10 deletions
+7 -7
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/truecharts/charts/description-list.mdx ./description-list.mdx
mv -f ./website/src/content/docs/truetech/truecharts/charts/description-list.mdx ./description-list.mdx
echo "Copying changelogs to docs"
rm -rf ./website/src/content/docs/truecharts/charts/stable ./website/src/content/docs/truecharts/charts/incubator ./website/src/content/docs/truecharts/charts/library
mkdir -p ./website/src/content/docs/truecharts/charts/
mv -f ./description-list.mdx ./website/src/content/docs/truecharts/charts/description-list.mdx
rm -rf ./website/src/content/docs/truetech/truecharts/charts/stable ./website/src/content/docs/truetech/truecharts/charts/incubator ./website/src/content/docs/truetech/truecharts/charts/library
mkdir -p ./website/src/content/docs/truetech/truecharts/charts/
mv -f ./description-list.mdx ./website/src/content/docs/truetech/truecharts/charts/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/truecharts/charts/
cp -r ./changelogs/** ./website/src/content/docs/truetech/truecharts/charts/
else
echo "No directories in ./changelogs. Skipping copy."
fi
@@ -219,8 +219,8 @@ jobs:
IFS='/' read -r -a chart_parts <<<"$item"
./.github/scripts/chart-docs.sh "${chart_parts[1]}/${chart_parts[2]}"
done
mv ./website/src/content/docs/truecharts/charts/library/common ./website/src/content/docs/truecharts-common
rm -rf ./website/src/content/docs/truetech/truecharts-common
mv ./website/src/content/docs/truetech/truecharts/charts/library/common ./website/src/content/docs/truetech/truecharts-common
- name: Prefetch contributor icons
shell: bash