Skip to content

Commit 37e51b5

Browse files
authored
MG-147 - Helm Docs generation fails with README.md has changed error (#148)
* Add debug logs Signed-off-by: JeffMboya <[email protected]> * Always show the diff even if doc generation fails Signed-off-by: JeffMboya <[email protected]> * Always show the diff even if doc generation fails Signed-off-by: JeffMboya <[email protected]> * Always show the diff even if doc generation fails Signed-off-by: JeffMboya <[email protected]> --------- Signed-off-by: JeffMboya <[email protected]>
1 parent 004267e commit 37e51b5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/helm-docs.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Generate Helm Docs
23+
id: helm-docs
2324
uses: losisin/[email protected]
2425
with:
2526
chart-search-root: "charts/magistrala"
@@ -28,3 +29,7 @@ jobs:
2829
template-files: "README.md.gotmpl"
2930
git-push: false
3031
fail-on-diff: true
32+
33+
- name: Show README diff
34+
if: failure() && steps.helm-docs.outcome == 'failure'
35+
run: git diff charts/magistrala/README.md || echo "No git diff available."

0 commit comments

Comments
 (0)