From 7c60a2625d8940cff786e6c6d432fca3fedacc00 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 28 Feb 2023 10:58:47 -0500 Subject: gitlab-ci: Optionally upload release packages to custom URL --- .gitlab/rules.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitlab') diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index f5306221d9..b85b7280e5 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -72,6 +72,10 @@ when: manual - if: '$CMAKE_CI_PACKAGE != null && $CI_JOB_STAGE != "upload"' when: on_success + - if: '$CMAKE_CI_PACKAGE != null && $CI_JOB_STAGE == "upload" && $CMAKE_CI_PACKAGE_URL != null' + variables: + RSYNC_DESTINATION: "$CMAKE_CI_PACKAGE_URL" + when: on_success - when: never .run_cmake_org_help: -- cgit v1.2.1