Skip to content

Commit

Permalink
Create documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spy86 authored Apr 23, 2024
1 parent 3f9a061 commit f8f057e
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 inside the README.md and push changes back to PR branch
uses: terraform-docs/[email protected]
with:
github-token: ${{ secrets.GH_TOKEN }}
working-dir: .
output-file: README.md
output-method: replace
config-file: .terraform-docs.yml
git-push: "true"

0 comments on commit f8f057e

Please sign in to comment.