Skip to content

Commit 7c01019

Browse files
authored
Don't fail if there is no javadoc to commit.
1 parent f505bde commit 7c01019

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -543,10 +543,10 @@ jobs:
543543
git config --global user.name "Github Actions"
544544
git config --global user.email "[email protected]"
545545
546-
git add .
547-
git commit -m "$version"
546+
git add . || true
547+
git commit -m "$version" || true
548548

549549
branch="gh-pages"
550-
git push origin "$branch" --force
550+
git push origin "$branch" --force || true
551551

552552
fi

0 commit comments

Comments
 (0)