From 7c01019f0c49a4acd89ff2f8609b388308edf0a6 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Mon, 30 Mar 2020 11:02:44 +0200 Subject: [PATCH] Don't fail if there is no javadoc to commit. --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e9c65788..edd830d64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -543,10 +543,10 @@ jobs: git config --global user.name "Github Actions" git config --global user.email "actions@users.noreply.github.com" - git add . - git commit -m "$version" + git add . || true + git commit -m "$version" || true branch="gh-pages" - git push origin "$branch" --force + git push origin "$branch" --force || true fi