feat: add lifecycle rule for client asg #7
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/gh-actions@v1.0.0 | |
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/gh-actions@v1.0.0 | |
with: | |
working-dir: ./modules/nomad-servers | |
output-file: README.mkdn | |
output-method: inject | |
git-push: "true" |