gitlab-ci.yml: Always run container jobs to allow page deploy to work

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2024-06-11 17:23:33 +03:00
parent 5e84f9167c
commit 538146380a
1 changed files with 5 additions and 1 deletions

View File

@ -163,9 +163,13 @@ check-commit:
base-container-pre: base-container-pre:
rules: rules:
# this run always in merge request
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always 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 - when: manual
stage: "Pre Base container" stage: "Pre Base container"
script: echo "exit 0" script: echo "exit 0"