Skip to content

style: formatting

style: formatting #23

name: Generate terraform docs
on:
push:
branches:
- main
paths:
- "modules/**"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Render terraform docs and push changes to main branch
uses: terraform-docs/gh-actions@main
with:
find-dir: modules
output-file: README.md
output-method: inject
git-commit-message: "docs: update terraform module README.md"
git-push: true