generate partials in ci

This commit is contained in:
flx5 2021-10-03 22:29:52 +02:00
parent 8e2fe2f35b
commit cae7e4ce79

View File

@ -17,8 +17,7 @@ generate:
@go install github.com/hashicorp/packer-plugin-sdk/cmd/packer-sdc@latest
@go generate -v ./...
ci-release-docs:
@go install github.com/hashicorp/packer-plugin-sdk/cmd/packer-sdc@latest
ci-release-docs: generate
@packer-sdc renderdocs -src docs-src -partials docs-partials/ -dst docs/
@/bin/sh -c "[ -d docs ] && zip -r docs.zip docs/"