diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 2016c24..60c6ae1 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -27,17 +27,16 @@ jobs: go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.12.0 - - name: Render documentation - run: | - export PATH=$PATH:$(go env GOPATH)/bin - helm-docs - git update-index -q --ignore-submodules --refresh - git diff README.md - git diff-files --ignore-submodules -- - if ! git diff-files --quiet --ignore-submodules -- ; then - echo Generating documentation caused a change - did you forget to run 'helm-docs' before commit? - exit 1 - fi + # - name: Render documentation + # run: | + # export PATH=$PATH:$(go env GOPATH)/bin + # helm-docs + # git update-index --ignore-submodules --refresh + # git diff --exit-code + # if ! git diff --exit-code ; then + # echo Generating documentation caused a change - did you forget to run 'helm-docs' before commit? + # exit 1 + # fi # # Deploy