Skip to content

Commit

Permalink
MG-147 - Helm Docs generation fails with README.md has changed error (
Browse files Browse the repository at this point in the history
#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]>
  • Loading branch information
JeffMboya authored Sep 13, 2024
1 parent 004267e commit 37e51b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/helm-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
fetch-depth: 0

- name: Generate Helm Docs
id: helm-docs
uses: losisin/[email protected]
with:
chart-search-root: "charts/magistrala"
Expand All @@ -28,3 +29,7 @@ jobs:
template-files: "README.md.gotmpl"
git-push: false
fail-on-diff: true

- name: Show README diff
if: failure() && steps.helm-docs.outcome == 'failure'
run: git diff charts/magistrala/README.md || echo "No git diff available."

0 comments on commit 37e51b5

Please sign in to comment.