fix(ci): ensure updated docs always gets pushed regardless
This commit is contained in:
@@ -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
|
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
|
sudo dpkg -i /tmp/helm-docs.deb
|
||||||
|
|
||||||
- name: Collect changes
|
|
||||||
id: collect-changes
|
|
||||||
uses: ./.github/actions/collect-changes
|
|
||||||
|
|
||||||
- name: Generate README for changed charts
|
- name: Generate README for changed charts
|
||||||
if: |
|
if: |
|
||||||
steps.collect-changes.outputs.changesDetected == 'true'
|
steps.collect-changes.outputs.changesDetected == 'true'
|
||||||
@@ -69,7 +65,7 @@ jobs:
|
|||||||
# export -f chart_runner
|
# export -f chart_runner
|
||||||
# CHARTS=(${{ steps.collect-changes.outputs.addedOrModifiedCharts }})
|
# CHARTS=(${{ steps.collect-changes.outputs.addedOrModifiedCharts }})
|
||||||
# parallel -j 8 chart_runner '2>&1' ::: ${CHARTS[@]}
|
# parallel -j 8 chart_runner '2>&1' ::: ${CHARTS[@]}
|
||||||
|
|
||||||
- name: build catalogs and docs
|
- name: build catalogs and docs
|
||||||
if: |
|
if: |
|
||||||
steps.collect-changes.outputs.changesDetected == 'true'
|
steps.collect-changes.outputs.changesDetected == 'true'
|
||||||
@@ -78,7 +74,11 @@ jobs:
|
|||||||
tools/build-release.sh -p
|
tools/build-release.sh -p
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: ${{ secrets.BOT_TOKEN }}
|
CR_TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||||
|
|
||||||
|
- name: Collect changes
|
||||||
|
id: collect-changes
|
||||||
|
uses: ./.github/actions/collect-changes
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # tag=v3
|
||||||
with:
|
with:
|
||||||
@@ -86,7 +86,7 @@ jobs:
|
|||||||
repository: truecharts/pub
|
repository: truecharts/pub
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
path: pub
|
path: pub
|
||||||
|
|
||||||
- name: Copy docs to website
|
- name: Copy docs to website
|
||||||
if: |
|
if: |
|
||||||
steps.collect-changes.outputs.changesDetected == 'true'
|
steps.collect-changes.outputs.changesDetected == 'true'
|
||||||
@@ -113,7 +113,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
- name: Commit Website Changes
|
- name: Commit Website Changes
|
||||||
if: |
|
if: |
|
||||||
steps.collect-changes.outputs.changesDetected == 'true'
|
steps.collect-changes.outputs.changesDetected == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user