Skip to content

Commit

Permalink
Fix documentation workflow
Browse files Browse the repository at this point in the history
Filed this issue with the upstream action being used

terraform-docs/gh-actions#90
  • Loading branch information
marcofranssen committed Aug 30, 2022
1 parent 1287567 commit 098aa66
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/tf-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ jobs:
- name: Check out code
uses: actions/[email protected]

- name: Debug
run: |
ls -lha .git
ls -lha .git/objects
- name: Update module docs
uses: terraform-docs/[email protected]
with:
Expand All @@ -43,10 +38,8 @@ jobs:
output-method: inject
git-push: "false"

- name: Debug
run: |
ls -lha .git
ls -lha .git/objects
- name: Fix .git owner
run: sudo chown runner:docker -R .git

- name: Compute branch name
id: pr-meta
Expand All @@ -65,9 +58,3 @@ jobs:
commit-message: "terraform-docs: Update ${{ matrix.module }} example documentation"
body: Update ${{ matrix.module }} documentation, see [README.md](https://github.com/${{ github.repository }}/blob/${{ steps.pr-meta.outputs.branch-name }}/examples/${{ matrix.module }}/README.md) for the result.
labels: documentation

- name: Debug
if: ${{ always() }}
run: |
ls -lha .git
ls -lha .git/objects

0 comments on commit 098aa66

Please sign in to comment.