Skip to content

Commit

Permalink
Update docs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
korenyoni authored Mar 6, 2023
1 parent 7563d61 commit fad55c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "templates/**/*"

jobs:
tfplugindocs:
tfplugindocs-generate:
# Always run if pull_request was triggered because of paths, but also run if someone commented /docs on a PR
if: github.event_name == 'pull_request' || (github.event.issue.pull_request && contains(github.event.comment.body, '/docs'))
runs-on: ubuntu-latest
Expand All @@ -20,11 +20,12 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
- run: |
export PATH=$PATH:/home/runner/go/bin
make docs
make docs-prepare
tfplugindocs generate
- name: Commit changes
uses: EndBug/[email protected]
with:
pull: "--ff"
message: "Update Provider Docs"
message: "Update Terraform Provider Docs"
add: "docs/**/*.md"
default_author: github_actions

0 comments on commit fad55c1

Please sign in to comment.