Skip to content

Generate terraform docs #4

Generate terraform docs

Generate terraform docs #4

Workflow file for this run

name: Generate terraform docs
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ./modules/**/*.tf
# - pull_request
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# with:
# ref: ${{ github.event.pull_request.head.ref }}
- name: Inject terraform docs for every module
uses: terraform-docs/[email protected]
with:
working-dir: "./modules/"
output-file: README.md
output-method: inject
recursive: "true"
recursive-path: "."
git-push: "true"
git-push-sign-off: "true"