Update charts-release.yaml

This commit is contained in:
Kjeld Schouten-Lebbing 2022-04-01 09:17:25 +02:00 committed by GitHub
parent 5db1284f7b
commit ae44ac0f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ jobs:
if: |
steps.collect-changes.outputs.changesDetected == 'true'
run: |
#!/bin/bash
CHARTS=(${{ steps.collect-changes.outputs.addedOrModifiedCharts }})
for i in "${CHARTS[@]}"
do
@ -99,7 +100,7 @@ jobs:
train=${chart_parts[0]}
chart=${chart_parts[1]}
echo "copying docs to website for ${chart}"
mkdir -p docs/apps/${train}/${chartname} || echo "app path already exists, continuing..."
mkdir -p docs/apps/${train}/${chart} || echo "app path already exists, continuing..."
yes | cp -rf charts/${train}/${chart}/README.md pub/website/apps/${train}/${chart}/index.md 2>/dev/null || :
yes | cp -rf charts/${train}/${chart}/CHANGELOG.md pub/website/apps/${train}/${chart}/CHANGELOG.md 2>/dev/null || :
yes | cp -rf charts/${train}/${chart}/security.md pub/website/apps/${train}/${chart}/security.md 2>/dev/null || :