From edaaebd26e246978eff385ba68f10efcd11c0c0b Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 27 Jun 2017 15:46:40 -0300 Subject: [pkg] skip package upload if no ssh private key is set --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3