Skip to content

Commit

Permalink
fix: docs workflow should fail if out-of-date (zdharma-continuum#278)
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <[email protected]>
  • Loading branch information
vladdoster authored May 22, 2022
1 parent 8620574 commit 07cde66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
workflow_dispatch:

jobs:

zshelldoc:
runs-on: ubuntu-latest
steps:
Expand All @@ -26,5 +25,6 @@ jobs:
- name: check for out-of-date documentation
run: |
if ! git --no-pager diff --exit-code; then
echo "::set-output zshelldocs are out-of-date, run 'make doc'"
echo "::error:: Z-shelldocs are out-of-date. To regenerate, run 'make doc'"
exit 1
fi
2 changes: 1 addition & 1 deletion doc/zsdoc/zinit-install.zsh.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ ____
package. Connects to Github releases page.
____
Has 130 line(s). Calls functions:
Has 115 line(s). Calls functions:
.zinit-get-latest-gh-r-url-part
`-- zinit.zsh/+zinit-message
Expand Down

0 comments on commit 07cde66

Please sign in to comment.