From 31a1902d82b6d96d9028e3dc911f25a04726b997 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 2 Mar 2017 13:38:17 +0100 Subject: Upload to different deb repo for any other branch than master --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f26f79c..a466dc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,8 @@ stages: - pwd - git describe - build-build-package + # Upload packages from the main/default branch to dev-platform deb repo and packaes from all other branches/MRs to the experimental-platform one. + - [ ${CI_BUILD_REF_NAME} != 'master' ] && export REPOSITORY="/srv/experimental-gitbuildpackage" - upload-package # sleep 1h to allow debugging of running container #- sleep 3600 -- cgit v1.2.3