diff --git a/.github/workflows/autodoc.yml b/.github/workflows/autodoc.yml index 835574bf..7c442865 100644 --- a/.github/workflows/autodoc.yml +++ b/.github/workflows/autodoc.yml @@ -18,8 +18,9 @@ jobs: continue-on-error: true run: | go install github.com/princjef/gomarkdoc/cmd/gomarkdoc@latest - ~/go/bin/gomarkdoc . > ./docs.md - exit $(git diff --exit-code docs.md) + cd blueprint + gomarkdoc --output '{{.Dir}}/README.md' ./... + exit $(git diff --exit-code --quiet) - name: Commit Changes if: steps.GenDocs.outcome == 'failure' run: |