File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1818 with :
1919 repository : ${{ github.event.pull_request.head.repo.full_name }}
2020 ref : ${{ github.event.pull_request.head.ref }}
21- - run : |
21+ - name : Generate Docs
22+ run : |
2223 export PATH=$PATH:/home/runner/go/bin
2324 make docs-prepare
2425 tfplugindocs generate
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ HOSTNAME=codefresh.io
55PKG_NAME =codefresh
66NAMESPACE =app
77BINARY =terraform-provider-${PKG_NAME}
8- VERSION =0.2.1
98OS_ARCH =darwin_amd64
109TFPLUGINDOCS_VERSION =v0.14.1
1110
6059 fi
6160
6261docs-prepare :
63- @echo " ==> Setting up docs ..."
64- which tfplugindocs || go get github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@${TFPLUGINDOCS_VERSION}
62+ @echo " ==> Setting up tfplugindocs ..."
63+ go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@${TFPLUGINDOCS_VERSION}
6564
6665docs : docs-prepare
6766 @echo " ==> Generating Provider Documentation..."
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ For example:
2929provider "codefresh" {
3030 api_key = "..."
3131}
32-
3332provider "codefresh" {
3433 api_key = "..."
3534 alias = "acme-dev"
@@ -43,4 +42,4 @@ resource "codefresh_pipeline" "pipeline-dev" {
4342 provider = codefresh.acme-dev
4443 ... # Omited for brevity
4544}
46- ```
45+ ```
You can’t perform that action at this time.
0 commit comments