gitlab-ci: Optionally upload release packages to custom URL

This commit is contained in:
Brad King 2023-02-28 10:58:47 -05:00
parent fc8a981893
commit 7c60a2625d

View File

@ -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: