mirror of
https://github.com/truecharts/charts.git
synced 2026-07-10 19:41:23 -03:00
only delete actually known trains
This commit is contained in:
committed by
GitHub
parent
6e5db5c103
commit
12433d7d56
5
.github/workflows/charts-release.yaml
vendored
5
.github/workflows/charts-release.yaml
vendored
@@ -86,8 +86,11 @@ jobs:
|
||||
run: |
|
||||
#!/bin/bash
|
||||
CHARTS=(${{ steps.collect-changes.outputs.modifiedChartsAfterTag }})
|
||||
echo "Removing Chart Docs prior to regeneration..."
|
||||
for deltrain in stable SCALE incubator games enterprise develop non-free deprecated dependency core; do
|
||||
rm -rf website/charts/${deltrain}
|
||||
done
|
||||
mkdir -p website/static/img/chart-icons || echo "chart-icons path already exists, continuing..."
|
||||
rm -rf website/charts/*
|
||||
for i in "${CHARTS[@]}"
|
||||
do
|
||||
IFS='/' read -r -a chart_parts <<< "$i"
|
||||
|
||||
Reference in New Issue
Block a user