summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-03-02 13:38:17 +0100
committervarac <varacanero@zeromail.org>2017-03-02 13:38:17 +0100
commit31a1902d82b6d96d9028e3dc911f25a04726b997 (patch)
tree95c3b69f7a8c8b15a07e7e6130d41fe3f9f7bb35
parent868917a8f581b1f1df9478fe5bd570417622d096 (diff)
Upload to different deb repo for any other branch than master
-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