Test: github workflow
This commit is contained in:
parent
b4f18aefc2
commit
49dbd1243e
20
.github/workflows/documentation.yml
vendored
Normal file
20
.github/workflows/documentation.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Generate terraform docs
|
||||||
|
on:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
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"
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user