Skip to content

Commit 81ab634

Browse files
committed
1 parent d32543f commit 81ab634

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/docs.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,21 @@ jobs:
1111
with:
1212
ref: ${{ github.event.pull_request.head.ref }}
1313

14-
- name: Render terraform docs and push changes back to PR
15-
uses: terraform-docs/gh-actions@main
16-
with:
17-
working-dir: terraform/azure-devops/create-service-connection
18-
output-file: README.md
19-
output-method: inject
20-
git-push: "true"
21-
14+
- name: Setup Graphviz
15+
uses: ts-graphviz/setup-graphviz@v2
16+
2217
- name: Generate diagram
2318
run: |
2419
terraform init
2520
terraform graph | dot -Tpng >graph.png
2621
git push
2722
shell: bash
28-
working-directory: terraform/azure-devops/create-service-connection
23+
working-directory: terraform/azure-devops/create-service-connection
24+
25+
- name: Render terraform docs and push changes back to PR
26+
uses: terraform-docs/gh-actions@main
27+
with:
28+
working-dir: terraform/azure-devops/create-service-connection
29+
output-file: README.md
30+
output-method: inject
31+
git-push: "true"

0 commit comments

Comments
 (0)