Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
inwaar committed Oct 7, 2024
1 parent 56593fe commit 8e1911f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: autofix
name: docs
on:
workflow_call:
pull_request:
Expand All @@ -9,7 +9,7 @@ on:
# - master

jobs:
docs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -18,4 +18,4 @@ jobs:
node-version: 20
- run: npm ci
- run: npm run docs
- run: "git diff --exit-code README.md > /dev/null || echo fail: README.md is outdated, forget to run 'npm run docs'?"
- run: "git diff --exit-code README.md > /dev/null || (echo fail: README.md is outdated, forget to run 'npm run docs'? && false)"

0 comments on commit 8e1911f

Please sign in to comment.