From fad55c150eb4a99be39d3917998557ed679cfd99 Mon Sep 17 00:00:00 2001 From: Yonatan Koren Date: Mon, 6 Mar 2023 14:15:48 +0200 Subject: [PATCH] Update docs.yaml --- .github/workflows/docs.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 9f9f710f..ce6cbee7 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -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 @@ -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/add-and-commit@v9.1.1 with: pull: "--ff" - message: "Update Provider Docs" + message: "Update Terraform Provider Docs" add: "docs/**/*.md" default_author: github_actions