Skip to content

Commit

Permalink
ci: added a docs render job
Browse files Browse the repository at this point in the history
  • Loading branch information
celaus committed Nov 8, 2024
1 parent e05b22e commit fd56938
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/render-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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: .
git-push: "true"

0 comments on commit fd56938

Please sign in to comment.