From 538146380a7cff7b889a140d816a15a48d0b7949 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 11 Jun 2024 17:23:33 +0300 Subject: [PATCH] gitlab-ci.yml: Always run container jobs to allow page deploy to work Signed-off-by: Marius Vlad --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27d4310e..bde13711 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -163,9 +163,13 @@ check-commit: base-container-pre: rules: + # this run always in merge request - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: always - # default, only run by default on MR. + # run always on main to allow docs to publish + - if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_PATH == "wayland/weston" && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH' + when: always + # allow to run manually in a branch - when: manual stage: "Pre Base container" script: echo "exit 0"