summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-06-27 15:46:40 -0300
committerKali Kaneko <kali@leap.se>2017-06-28 23:34:59 +0200
commitedaaebd26e246978eff385ba68f10efcd11c0c0b (patch)
treecdd45d97ac51076b37ca12e776bacbd6f58696f7
parentfd68f71cc979e03565b6193127f549886e680d38 (diff)
[pkg] skip package upload if no ssh private key is set
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6eb1d39f..b0c84aa5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,7 +30,7 @@ before_script:
- build-build-package
# Test the package with lintian
- build-test-lintian
- - upload-package
+ - "if [ -n \"${SSH_PRIVATE_KEY}\" ]; then upload-package; fi"
# sleep 1h to allow debugging of running container
# - sleep 3600
artifacts: