Skip to content

Commit

Permalink
add: terraform doc github action
Browse files Browse the repository at this point in the history
  • Loading branch information
josephgoksu committed May 30, 2023
1 parent 01acdf5 commit a9f7d1a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Generate terraform docs
on:
- pull_request

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@main
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"

0 comments on commit a9f7d1a

Please sign in to comment.