Skip to content

Commit 9b1d9fe

Browse files
authored
Create docs.yaml
1 parent e15214b commit 9b1d9fe

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/docs.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Update Terraform Provider Docs"
2+
on:
3+
pull_request_target:
4+
paths:
5+
- "**/*.go"
6+
- "templates/**/*"
7+
8+
jobs:
9+
tfplugindocs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@v3
14+
with:
15+
repository: ${{ github.event.pull_request.head.repo.full_name }}
16+
ref: ${{ github.event.pull_request.head.ref }}
17+
- run: make docs
18+
- name: Commit changes
19+
uses: EndBug/[email protected]
20+
with:
21+
pull: "--ff"
22+
message: "Run terragrunt hclfmt"
23+
add: "docs/**/*.md"
24+
default_author: github_actions

0 commit comments

Comments
 (0)