Skip to content

Made various adjustments to the README files. #205

Made various adjustments to the README files.

Made various adjustments to the README files. #205

---
# Copyright (c) NetApp, Inc.
# SPDX-License-Identifier: Apache-2.0
name: "Documentation: terraform-docs"
on:
pull_request:
paths:
- 'Terraform/**'
push:
paths:
- 'Terraform/**'
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
strategy:
matrix:
directory:
- 'Terraform/deploy-fsx-ontap/module'
- 'Terraform/deploy-fsx-ontap/standalone-module'
steps:
- name: Checkout pull request
uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render documentation and push changes back to branch
uses: terraform-docs/[email protected]
with:
working-dir: ${{ matrix.directory }}
config-file: ".terraform-docs.yml"
output-file: "README.md"
output-method: inject
git-push: true