diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 6b303cc65..cb4ee2de0 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -34,6 +34,7 @@ jobs: - run: | make docs-repo + make docs-pipeline git diff --exit-code - run: | diff --git a/Makefile b/Makefile index 1a01ea5b9..5fe78df23 100644 --- a/Makefile +++ b/Makefile @@ -202,6 +202,14 @@ docs: docs-repo: go run docs/main.go --baseurl /docs/md/ --suffix .md --out docs/md +################## +# docs-pipeline - This creates documents for pipelines. +################## +.PHONY: docs-pipeline +docs-pipeline: + @cd pkg/build/pipelines && \ + go run ../../../docs/cmd/pipeline-reference-gen/main.go --pipeline-dir . + ################## # help ##################