mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
CI: only run on master branch
This commit is contained in:
parent
23feff7bbc
commit
b35ecc7918
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ stages:
|
||||||
|
|
||||||
build_trigger_job:
|
build_trigger_job:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE != "merge_request_event"
|
- if: ($CI_PIPELINE_SOURCE != "merge_request_event") && ($CI_COMMIT_BRANCH == 'master')
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
variables:
|
||||||
# the build script assumes it's run from a MR context
|
# the build script assumes it's run from a MR context
|
||||||
|
@ -20,7 +20,7 @@ build_trigger_job:
|
||||||
|
|
||||||
cts_trigger_job:
|
cts_trigger_job:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE != "merge_request_event"
|
- if: ($CI_PIPELINE_SOURCE != "merge_request_event") && ($CI_COMMIT_BRANCH == 'master')
|
||||||
stage: cts
|
stage: cts
|
||||||
trigger:
|
trigger:
|
||||||
project: android_translation_layer/android_translation_layer.gitlab.io
|
project: android_translation_layer/android_translation_layer.gitlab.io
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue