From 8a12e312fbbcdfff4e457afec33bc5f3ff2a7d5b Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 17 Apr 2024 14:17:27 +0200 Subject: [PATCH] Update charts-release.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/charts-release.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 721fd469c5b..afe6fc783ac 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -152,6 +152,7 @@ jobs: CHARTS=(${{ steps.collect-changes.outputs.modifiedChartsAfterTag }}) echo "Removing Chart Docs prior to regeneration..." mkdir -p website/public/img/hotlink-ok/chart-icons || echo "chart-icons path already exists, continuing..." + mkdir -p website/public/img/hotlink-ok/chart-icons-small || echo "chart-icons-small path already exists, continuing..." for i in "${CHARTS[@]}" do IFS='/' read -r -a chart_parts <<< "$i" @@ -178,11 +179,8 @@ jobs: rm -rf website/src/content/docs/charts/*/${chart} || : mkdir -p website/src/content/docs/charts/${train}/${chart} || echo "chart path already exists, continuing..." yes | cp -rf charts/${train}/${chart}/docs/* website/src/content/docs/charts/${train}/${chart}/ 2>/dev/null || : - yes | cp -rf charts/${train}/${chart}/icon.png website/public/img/hotlink-ok/chart-icons/${chart}.png 2>/dev/null || : - yes | cp -rf charts/${train}/${chart}/icon.jpg website/public/img/hotlink-ok/chart-icons/${chart}.jpg 2>/dev/null || : - yes | cp -rf charts/${train}/${chart}/icon.jpeg website/public/img/hotlink-ok/chart-icons/${chart}.jpeg 2>/dev/null || : - yes | cp -rf charts/${train}/${chart}/icon.svg website/public/img/hotlink-ok/chart-icons/${chart}.svg 2>/dev/null || : yes | cp -rf charts/${train}/${chart}/icon.webp website/public/img/hotlink-ok/chart-icons/${chart}.webp 2>/dev/null || : + yes | cp -rf charts/${train}/${chart}/icon-small.webp website/public/img/hotlink-ok/chart-icons-small/${chart}.webp 2>/dev/null || : yes | cp -rf charts/${train}/${chart}/screenshots/* website/public/img/hotlink-ok/chart-screenshots/${chart}/ 2>/dev/null || : echo "Copying back kept docs..."