Feature/self service portal #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate terraform docs | |
on: [pull_request] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Render terraform docs inside the README.md and push changes back to pushed branch | |
uses: DNXLabs/[email protected] | |
with: | |
tf_docs_working_dir: . | |
tf_docs_output_file: README.md | |
tf_docs_output_method: inject | |
tf_docs_git_push: 'true' | |
tf_docs_git_commit_message: 'terraform-docs: automated update action' |