diff --git a/.github/workflows/daily.yaml b/.github/workflows/daily.yaml index 51782a52b50..d914ae99230 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/daily.yaml @@ -93,7 +93,7 @@ jobs: # Add truechart source tcsource="https://github.com/truecharts/charts/tree/master/charts/$train/$chartname" go-yq -i '.sources += env(tcsource)' "${chart}/Chart.yaml" container=$(cat website/docs/charts/description_list.md | grep "${chartname}" | cut -f3 -d '|' | grep -v 'Not Found') - if ${container}; then + if [ -z "$container" ]; then container="${container}" go-yq -i '.sources += env(container)' "${chart}/Chart.yaml" fi # Add the rest of the sources