dbp 929 linux server for email #131
Workflow file for this run
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-Docs | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/**' | |
- '.github/templates/**' | |
- 'modules/**' | |
jobs: | |
create-tf-docs: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out code to Runner | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Render Terraform-Docs | |
uses: terraform-docs/[email protected] | |
with: | |
find-dir: modules | |
config-file: .github/templates/.terraform-docs.yaml | |
output-file: README.md | |
output-method: replace | |
git-push: true |