diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f2236e629bf847c3cd3020ae14f34beb664dffb7..f7d327e633093341a553d84bda8f65ca8038d08e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -73,7 +73,7 @@ validate-java:
     - tags
   image: maven:3.8.3-jdk-8
   script:
-    - mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean validate package -Pdhrep.deb
+    - mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean validate package
   artifacts:
     reports:
       # Declare the JUnit reports (recursive pattern for multi-module projects)
@@ -89,40 +89,14 @@ build-and-deploy-jars:
     - develop
     - tags
   script:
-    - mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean deploy -Pdhrep.deb -Psbom
+    - mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean deploy -Psbom
     - cp target/bom.json .
   artifacts:
     name: WEBAPP_DEB_PACKAGES
     paths:
-      - ./target/*.deb
       - ./bom.json
     reports:
       # Declare the JUnit reports (recursive pattern for multi-module projects)
       junit:
         - "**/target/*-reports/TEST-*.xml"
 
-# Deploy DEB files to APTLY SNAPSHOT repository.
-deploy-snapshot-deb:
-  stage: deploy
-  only:
-    - develop
-  variables:
-    PNAME: 'messagebeans'
-    PPATH: './target'
-    PKEY: 'SNAPSHOT'
-    APTLY_TARGET: 'indy-snapshots'
-  extends:
-    - .deploy-deb
-
-# Deploy DEB files to APTLY RELEASE repository.
-deploy-release-deb:
-  stage: deploy
-  only:
-    - tags
-  variables:
-    PNAME: 'messagebeans'
-    PPATH: './target'
-    PKEY: '${PVERSION}'
-    APTLY_TARGET: 'indy-releases'
-  extends:
-    - .deploy-deb