Skip to content

Commit

Permalink
Merge pull request #73 from NetApp/kerensMac
Browse files Browse the repository at this point in the history
modified github workflow working-dir settings
  • Loading branch information
kerentraht authored Feb 5, 2024
2 parents a9b18b4 + 8dc12cb commit 1ffa2e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/terraform-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ on:
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]
Expand All @@ -26,7 +31,7 @@ jobs:
- name: Render documentation and push changes back to branch
uses: terraform-docs/[email protected]
with:
working-dir: Terraform/*
working-dir: Terraform/${{ matrix.directory }}
config-file: ".terraform-docs.yml"
output-file: "README.md"
output-method: inject
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ jobs:
terraform:
name: Terraform
runs-on: ubuntu-latest
strategy:
matrix:
directory:
- 'Terraform/deploy-fsx-ontap/module'
- 'Terraform/deploy-fsx-ontap/standalone-module'
defaults:
run:
working-directory: ./Terraform/deploy-fsx-ontap
working-directory: ${{ matrix.directory }}

steps:
- name: Checkout pull request
Expand Down

0 comments on commit 1ffa2e0

Please sign in to comment.