Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrmr33 committed Feb 25, 2024
1 parent 63d88e1 commit 8790d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/terraform_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@main
with:
config-file: .terraform-docs.yml
working-dir: .
output-file: README.md
output-method: inject
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.PHONY: generate
generate:
@echo "Generating README..."
@docker run --rm --volume "$(shell pwd):/terraform-docs" quay.io/terraform-docs/terraform-docs:0.17.0 markdown table /terraform-docs --output-file README.md --output-template "<!-- BEGIN_TF_DOCS -->\n{{ .Content }}\n<!-- END_TF_DOCS -->"
@docker run --rm --volume "$(shell pwd):/terraform-docs" quay.io/terraform-docs/terraform-docs:0.17.0 markdown table /terraform-docs --indent 2 --output-file README.md --output-template "<!-- BEGIN_TF_DOCS -->\n{{ .Content }}\n<!-- END_TF_DOCS -->"
@echo "Generating CHANGELOG..."
@docker run -v "$(shell pwd):/workdir" quay.io/git-chglog/git-chglog -o CHANGELOG.md

0 comments on commit 8790d00

Please sign in to comment.