diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 90ef882c1dd..8d5ed922bc3 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -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/description-list.mdx ./description-list.mdx + mv -f ./website/src/content/docs/truecharts/charts/description-list.mdx ./description-list.mdx echo "Copying changelogs to docs" - 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 + 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 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/ + cp -r ./changelogs/** ./website/src/content/docs/truecharts/charts/ else echo "No directories in ./changelogs. Skipping copy." fi