From cbab855e089985dcede4664e61935195300a403c Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Fri, 1 Apr 2022 09:52:38 +0200 Subject: [PATCH] fix(ci): ensure updated docs always gets pushed regardless --- .github/workflows/charts-release.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index c9fd728e590..4b9849cae5b 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -51,10 +51,6 @@ jobs: wget -O /tmp/helm-docs.deb https://github.com/k8s-at-home/helm-docs/releases/download/v0.1.1/helm-docs_0.1.1_Linux_x86_64.deb sudo dpkg -i /tmp/helm-docs.deb - - name: Collect changes - id: collect-changes - uses: ./.github/actions/collect-changes - - name: Generate README for changed charts if: | steps.collect-changes.outputs.changesDetected == 'true' @@ -69,7 +65,7 @@ jobs: # export -f chart_runner # CHARTS=(${{ steps.collect-changes.outputs.addedOrModifiedCharts }}) # parallel -j 8 chart_runner '2>&1' ::: ${CHARTS[@]} - + - name: build catalogs and docs if: | steps.collect-changes.outputs.changesDetected == 'true' @@ -78,7 +74,11 @@ jobs: tools/build-release.sh -p env: CR_TOKEN: ${{ secrets.BOT_TOKEN }} - + + - name: Collect changes + id: collect-changes + uses: ./.github/actions/collect-changes + - name: Checkout uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3 with: @@ -86,7 +86,7 @@ jobs: repository: truecharts/pub token: ${{ secrets.BOT_TOKEN }} path: pub - + - name: Copy docs to website if: | steps.collect-changes.outputs.changesDetected == 'true' @@ -113,7 +113,7 @@ jobs: fi done - + - name: Commit Website Changes if: | steps.collect-changes.outputs.changesDetected == 'true'