Kaynağa Gözat

Don't fail if there is no javadoc to commit.

Riccardo Balbo 5 yıl önce
ebeveyn
işleme
7c01019f0c
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      .github/workflows/main.yml

+ 3 - 3
.github/workflows/main.yml

@@ -543,10 +543,10 @@ jobs:
             git config --global user.name "Github Actions"
             git config --global user.email "[email protected]"
       
-            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