Made various adjustments to the README files. #205
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
--- | |
# 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 |