Update documentation example to point to Git latest version (#39) #29
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 Documentation | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Render terraform docs and push changes | |
uses: terraform-docs/gh-actions@main | |
with: | |
working-dir: . | |
config-file: ".terraform-docs.yml" | |
output-method: "replace" | |
git-push: "true" | |
template: "{{ .Content }}" |