diff --git a/.github/workflows/tfdocs.yaml b/.github/workflows/tfdocs.yaml index 8cbf56b..e585504 100644 --- a/.github/workflows/tfdocs.yaml +++ b/.github/workflows/tfdocs.yaml @@ -4,16 +4,4 @@ on: jobs: generate-tfdocs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.ref }} - - - name: Render terraform docs inside the README.md and push changes back to PR branch - uses: terraform-docs/gh-actions@v1.3.0 - with: - working-dir: . - output-file: README.md - output-method: inject - git-push: "true" + uses: montblu/github-actions/.github/workflows/tfdocs.yaml@main