Skip to content

Commit 4a10d1b

Browse files
authored
Merge branch 'master' into doc-fixes
2 parents e6f48f1 + 171f729 commit 4a10d1b

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/docs.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
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

GNUmakefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ HOSTNAME=codefresh.io
55
PKG_NAME=codefresh
66
NAMESPACE=app
77
BINARY=terraform-provider-${PKG_NAME}
8-
VERSION=0.2.1
98
OS_ARCH=darwin_amd64
109
TFPLUGINDOCS_VERSION=v0.14.1
1110

@@ -60,8 +59,8 @@ vet:
6059
fi
6160

6261
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}
6564

6665
docs: docs-prepare
6766
@echo "==> Generating Provider Documentation..."

templates/index.md.tmpl

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ For example:
2929
provider "codefresh" {
3030
api_key = "..."
3131
}
32-
3332
provider "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+
```

0 commit comments

Comments
 (0)