Merge pull request #18 from zerodha/imdsv2 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Terraform Module Documentation | |
on: | |
push: | |
branches: ['main'] | |
paths: ['**.tf'] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Render Terraform Nomad Clients Module Documentation | |
uses: terraform-docs/[email protected] | |
with: | |
working-dir: ./modules/nomad-clients | |
output-file: README.mkdn | |
output-method: inject | |
git-push: "true" | |
- name: Render Terraform Nomad Servers Module Documentation | |
uses: terraform-docs/[email protected] | |
with: | |
working-dir: ./modules/nomad-servers | |
output-file: README.mkdn | |
output-method: inject | |
git-push: "true" |