File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
repository : ${{ github.event.pull_request.head.repo.full_name }}
20
20
ref : ${{ github.event.pull_request.head.ref }}
21
- - run : |
21
+ - name : Generate Docs
22
+ run : |
22
23
export PATH=$PATH:/home/runner/go/bin
23
24
make docs-prepare
24
25
tfplugindocs generate
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ HOSTNAME=codefresh.io
5
5
PKG_NAME =codefresh
6
6
NAMESPACE =app
7
7
BINARY =terraform-provider-${PKG_NAME}
8
- VERSION =0.2.1
9
8
OS_ARCH =darwin_amd64
10
9
TFPLUGINDOCS_VERSION =v0.14.1
11
10
60
59
fi
61
60
62
61
docs-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}
65
64
66
65
docs : docs-prepare
67
66
@echo " ==> Generating Provider Documentation..."
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ For example:
29
29
provider "codefresh" {
30
30
api_key = "..."
31
31
}
32
-
33
32
provider "codefresh" {
34
33
api_key = "..."
35
34
alias = "acme-dev"
@@ -43,4 +42,4 @@ resource "codefresh_pipeline" "pipeline-dev" {
43
42
provider = codefresh.acme-dev
44
43
... # Omited for brevity
45
44
}
46
- ```
45
+ ```
You can’t perform that action at this time.
0 commit comments