Skip to content

Commit

Permalink
run tfdocs step
Browse files Browse the repository at this point in the history
  • Loading branch information
danhurwit committed Feb 12, 2024
1 parent 23bf143 commit d12d38a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Run tfplugindocs
runs-on: ubuntu-latest
permissions:
contents: read
contents: write

steps:
- uses: actions/checkout@v2
Expand All @@ -50,11 +50,15 @@ jobs:
unzip tfplugindocs.zip
chmod +x tfplugindocs
- name: Compare generated files with checked in files
- name: Generate files with checked in files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
rm -r docs
/tmp/tfplugindocs
git diff --stat --exit-code ./docs
git add .
git commit -m "added terraform docs"
git push
terraform_lint:

name: Run terraform-lint
Expand Down

0 comments on commit d12d38a

Please sign in to comment.