Skip to content

ci: overhaul workflows #72

ci: overhaul workflows

ci: overhaul workflows #72

Workflow file for this run

name: Generate terraform docs
on:
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Render terraform docs inside the examples/basic/README.md
uses: terraform-docs/[email protected]
with:
working-dir: ./examples/basic/
git-push: "false"
output-file: README.md
config-file: ./examples/basic/.terraform-docs.yml
- name: Render terraform docs
uses: terraform-docs/[email protected]
with:
working-dir: .,examples/basic
git-push: "true"