summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
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