diff options
author | Brad King <brad.king@kitware.com> | 2022-04-04 16:04:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-05 20:09:55 (GMT) |
commit | ed00a29ccef7d1a6757c040cf10e9cb720080340 (patch) | |
tree | 1a3f68d7d9f1500cd99f624eb2590dba623e94d7 /.gitlab/rules.yml | |
parent | 5c2e8ce515bc1f47ac6dd6d5b55bfe7f45190a02 (diff) | |
download | CMake-ed00a29ccef7d1a6757c040cf10e9cb720080340.zip CMake-ed00a29ccef7d1a6757c040cf10e9cb720080340.tar.gz CMake-ed00a29ccef7d1a6757c040cf10e9cb720080340.tar.bz2 |
gitlab-ci: consolidate jobs for cmake.org/cmake/help/git-{master,stage} docs
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r-- | .gitlab/rules.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index 5642c15..def89a0 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -72,14 +72,14 @@ when: on_success - when: never -.run_only_for_continuous_master: +.run_cmake_org_help: rules: - if: '$CMAKE_CI_PROJECT_MAIN_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_MAIN_BRANCH == $CI_COMMIT_BRANCH' + variables: + RSYNC_DESTINATION: "git-master" when: on_success - - when: never - -.run_only_for_continuous_stage: - rules: - if: '$CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH == $CI_COMMIT_BRANCH' + variables: + RSYNC_DESTINATION: "git-stage" when: on_success - when: never |