We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c39a93 + e5d968d commit 185c491Copy full SHA for 185c491
.github/workflows/main.yml
@@ -40,3 +40,19 @@ jobs:
40
with:
41
entrypoint: terraform
42
args: fmt -check=true -diff=true
43
+ generate-terraform-docs:
44
+ needs: validate
45
+ runs-on: ubuntu-latest
46
+ steps:
47
+ - name: Check out code
48
+ uses: actions/checkout@v2
49
+ with:
50
+ ref: ${{ github.event.pull_request.head.ref }}
51
+
52
+ - name: Generate Terraform docs
53
+ uses: terraform-docs/[email protected]
54
55
+ working-dir: .
56
+ config-file: .terraform-docs.yml
57
+ git-push: true
58
+ git-commit-message: "GitHub Action: Generate terraform docs"
USAGE.md
@@ -0,0 +1,7 @@
1
+# Usage
2
3
+<!--- BEGIN_TF_DOCS --->
4
+README.md updated successfully
5
6
+<!--- END_TF_DOCS --->
7
0 commit comments