diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a51c33f70e6505d7dafe2077abeddcc8bd205f1f..1d1e93039904d7d74c7905f5fd495d285d86dc8c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,4 +10,4 @@ kelvin-node-schedule:
     stage: build
     tags:
     - kelvin-node
-    script: ~/production/integration/gitlab-CI/build_all_handler.sh cellframe-node && ~/production/integration/reprepro/publish.sh debian.pub.demlabs.net stretch main &&  ~/production/integration/gitlab-CI/travis_test.sh
+    script: ~/production/integration/gitlab-CI/build_all_handler.sh cellframe-node 
diff --git a/prod_build/linux/debian/conf/publish b/prod_build/linux/debian/conf/publish
index 61b38fc197a89dcaf0cfec02be0b88837adc9c0d..7e43efe9e4e5f84ec03bab500176dba27700ee22 100644
--- a/prod_build/linux/debian/conf/publish
+++ b/prod_build/linux/debian/conf/publish
@@ -1,3 +1,8 @@
-HOST_DISTR_VERSIONS="stretch buster"
+HOST_DISTR_VERSIONS="buster"
 HOST_ARCH_VERSIONS="amd64"
 PACKAGE_PATH=builds/deb/
+REPO_DIR_SRC=/var/tmp/repository
+DISTR_CODENAME=$HOST_DISTR_VERSIONS
+REPO_ADDR=debian.pub.demlabs.net
+REPO_DIR=/var/www/html/$REPO_ADDR
+
diff --git a/prod_build/linux/debian/scripts/deploy.sh b/prod_build/linux/debian/scripts/deploy.sh
index b3b3caac64f5624f63cd01212fdcee6de868fb17..41eae02f7d5345c10c73a2cad0141196d13c7e33 100755
--- a/prod_build/linux/debian/scripts/deploy.sh
+++ b/prod_build/linux/debian/scripts/deploy.sh
@@ -2,17 +2,23 @@
 
 echo "Deploying to $PACKAGE_PATH"
 echo $wd
+cd $REPO_DIR
 PKGFILES=($(ls build/*.deb))
 mv build/*.deb $wd/$PACKAGE_PATH || echo "[ERR] Something went wrong in publishing the package. Now aborting."
 
 if [ ! -z $UPDVER ]; then
 	for pkgfile in $PKGFILES; do
 		ln -sf $wd/$PACKAGE_PATH/$pkgfile $wd/$PACKAGE_PATH/$pkgfile-latest
+		cp $wd/$PACKAGE_PATH/$pkgfile $REPO_DIR_SRC
 	done
+	sudo reprepro -c "$DISTR_COMPONENT" --ask-passphrase includedeb "$DISTR_CODENAME" $REPO_DIR_SRC/*.deb
+	#Update into reprepro:
+	
 	export -n "UPDVER"
 	#Need to create latest symlink to the project.
 fi
 
+cd $wd
 #symlink name-actual to the latest version.
 #build/deb/versions - for all files
 #build/deb/${PROJECT}-latest - for symlinks.