From b5e6bcec08dc2d375e3b503624c61a1cd18cfbdc Mon Sep 17 00:00:00 2001
From: Lukas Lieb <lukas.lieb@axonivy.com>
Date: Fri, 20 Dec 2024 09:33:02 +0100
Subject: [PATCH] Fix site publish on release pipeline

---
 build/release/Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/release/Jenkinsfile b/build/release/Jenkinsfile
index 690bbe90..2fc49662 100644
--- a/build/release/Jenkinsfile
+++ b/build/release/Jenkinsfile
@@ -42,7 +42,7 @@ pipeline {
                   sh "gh pr create --title '${message}' --body '${message}' --head ${targetBranch} --base ${env.BRANCH_NAME}"
                 }
                 // publish site from 'mvn release' run
-                maven cmd: "site:stage scm-publish:publish-scm"
+                maven cmd: "site site:stage scm-publish:publish-scm -PossrhDeploy"
               }
             }
           }