diff options
author | drebs <drebs@leap.se> | 2017-06-27 15:46:40 -0300 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-06-28 23:34:59 +0200 |
commit | edaaebd26e246978eff385ba68f10efcd11c0c0b (patch) | |
tree | cdd45d97ac51076b37ca12e776bacbd6f58696f7 /.gitlab-ci.yml | |
parent | fd68f71cc979e03565b6193127f549886e680d38 (diff) |
[pkg] skip package upload if no ssh private key is set
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
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: |