Skip to content

Commit

Permalink
Merge branch 'main' into fix/help-usage
Browse files Browse the repository at this point in the history
  • Loading branch information
pschmitt authored Jun 13, 2023
2 parents f2a4123 + 5706971 commit 5402dff
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@ jobs:

- name: checkout repository
uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}

- name: re-generate documentation
run: |
make doc/container
sudo chown -R "$(id -u):$(id -g)" .
- name: check for out-of-date documentation
run: |
echo "### Documentation summary" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY # this is a blank line
if ! git --no-pager diff --exit-code; then
echo "::error:: Z-shelldocs are out-of-date." >> $GITHUB_STEP_SUMMARY
echo 'To regenerate, run `make doc`' >> $GITHUB_STEP_SUMMARY
exit 1
else
echo "::notice:: Z-shelldocs are up-to-date." >> $GITHUB_STEP_SUMMARY
fi
- name: commit changes to the current branch
uses: EndBug/add-and-commit@v9
with:
add: 'doc'
author_name: GitHub Actions
author_email: [email protected]
commit: --signoff
message: 'docs: generate'
push: true

0 comments on commit 5402dff

Please sign in to comment.