diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 7f6d6d66b2a..9426d937563 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -208,16 +208,16 @@ jobs: forgetool charts genchartlist ./charts mv -f charts.json website/truecharts/src/assets/charts.json - mv -f ./website/truecharts/src/content/docs/truetech/truecharts/charts/description-list.mdx ./description-list.mdx + mv -f ./website/truecharts/src/content/docs/charts/description-list.mdx ./description-list.mdx echo "Copying changelogs to docs" - rm -rf ./website/truecharts/src/content/docs/truetech/truecharts/charts/stable ./website/truecharts/src/content/docs/truetech/truecharts/charts/incubator ./website/truecharts/src/content/docs/truetech/truecharts/charts/library - mkdir -p ./website/truecharts/src/content/docs/truetech/truecharts/charts/ - mv -f ./description-list.mdx ./website/truecharts/src/content/docs/truetech/truecharts/charts/description-list.mdx + rm -rf ./website/truecharts/src/content/docs/charts/stable ./website/truecharts/src/content/docs/charts/incubator ./website/truecharts/src/content/docs/charts/library + mkdir -p ./website/truecharts/src/content/docs/charts/ + mv -f ./description-list.mdx ./website/truecharts/src/content/docs/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/truecharts/src/content/docs/truetech/truecharts/charts/ + cp -r ./changelogs/** ./website/truecharts/src/content/docs/charts/ else echo "No directories in ./changelogs. Skipping copy." fi @@ -231,8 +231,8 @@ jobs: IFS='/' read -r -a chart_parts <<<"$item" ./.github/scripts/chart-docs.sh "${chart_parts[1]}/${chart_parts[2]}" done - rm -rf ./website/truecharts/src/content/docs/truetech/truecharts-common - mv ./website/truecharts/src/content/docs/truetech/truecharts/charts/library/common ./website/truecharts/src/content/docs/truetech/truecharts-common + rm -rf ./website/truecharts/src/content/docs-common + mv ./website/truecharts/src/content/docs/charts/library/common ./website/truecharts/src/content/docs-common - name: Prefetch contributor icons shell: bash