Skip to content

Commit 3b99d4c

Browse files
committed
fix: remove echo and use OR
1 parent 936a156 commit 3b99d4c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/publishTypedoc.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,5 @@ jobs:
4545
run: |
4646
cd docs
4747
git add .
48-
git diff --cached --quiet && echo "No docs changes to publish" && exit 0
49-
git commit -m 'docs: publishing gh-pages [skip ci]' --no-verify
48+
git diff --cached --quiet || git commit -m 'docs: publishing gh-pages [skip ci]' --no-verify
5049
git push origin gh-pages --no-verify

0 commit comments

Comments
 (0)