diff options
author | Brad King <brad.king@kitware.com> | 2021-05-06 18:27:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-07 13:52:59 (GMT) |
commit | 354ae6fe2e48d15ed205b39b59f553f1e32aa8dd (patch) | |
tree | c8ddea14ba498d95376dbb6e921b8ee78f7d197c /.gitlab/rules.yml | |
parent | eb7cbb577ef5690717e0bb4a9d7c3c69c0a672c7 (diff) | |
download | CMake-354ae6fe2e48d15ed205b39b59f553f1e32aa8dd.zip CMake-354ae6fe2e48d15ed205b39b59f553f1e32aa8dd.tar.gz CMake-354ae6fe2e48d15ed205b39b59f553f1e32aa8dd.tar.bz2 |
gitlab-ci: add jobs to build cmake.org/cmake/help/git-{master,stage} docs
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r-- | .gitlab/rules.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index 4ac67e8..4846fea 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -62,3 +62,15 @@ - if: '$CMAKE_CI_PACKAGE == "true"' when: on_success - when: never + +.run_only_for_continuous_master: + rules: + - if: '$CMAKE_CI_PROJECT_MAIN_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_MAIN_BRANCH == $CI_COMMIT_BRANCH' + 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' + when: on_success + - when: never |