From fd04d48a23a58516bb90e25d883da099ee296290 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 9 Jun 2025 12:07:55 +0200 Subject: [PATCH] Enhance Javadoc update script in CI pipeline with improved logging for push actions --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9585c26..3536da2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,12 +77,12 @@ javadoc: script: - rm -rf docs/apidocs - mvn javadoc:javadoc -DskipTests -Pjavadoc - - git add docs/apidocs - | if ! git diff --quiet -- docs/apidocs; then git add docs/apidocs git commit -m "Update Javadocs" git push https://${GITLAB_USERNAME}:${CI_PUSH_TOKEN}@gitlab.com/th-schwarz/CloudflareDNS-java.git ${CI_COMMIT_REF_NAME} + - echo "Commits found and pushed" else echo "No changes to commit" fi