feat: Add support for deploying Telescope using spa-tools #340
Workflow file for this run
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 Modules Docs | |
on: | |
pull_request: | |
paths: | |
- "terraform-module/**" | |
jobs: | |
docs: | |
name: Generate and Commit Terraform Modules Docs | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Render terraform docs and commit back to the branch | |
uses: terraform-docs/[email protected] | |
with: | |
output-file: README.md | |
output-method: inject | |
git-push: true | |
working-dir: terraform-module | |
git-push-user-name: Friendly Bot | |
indention: 4 | |
git-commit-message: "docs(terraform-module): Autogenerated documentation" |