From 78e6680de97800999d2e3b20fc08091cce694d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= <git@maximilian-kessler.de>
Date: Sun, 24 Oct 2021 09:03:22 +0200
Subject: [PATCH] handle not commiting case

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4dec289..67f7b00 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,7 +52,7 @@ build-packages:      # This job runs in the deploy stage.
     - .ci/ci_build.sh
     - cd build/LatexPackagesBuild
     - git add .
-    - git commit -m "${COMMIT_MESSAGE}"
+    - git commit -m "${COMMIT_MESSAGE}" || echo "Nothing to commit, working dir clean"
   variables:
       GIT_SUBMODULE_STRATEGY: recursive
   artifacts: