From 5060da28cae85eefb5a7919ad9c4974494e5af88 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sat, 30 May 2020 19:10:28 +0000 Subject: [PATCH] Change builds to only build the specific module --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d68ebd7..a1ad08b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,10 @@ build-vue: - docker build --pull -t vue . rules: - if: $CI_MERGE_REQUEST_ID + changes: + - frontend/**/* + when: always + - when: never build-backend: image: docker:latest @@ -19,6 +23,11 @@ build-backend: - docker build --pull -t backend . rules: - if: $CI_MERGE_REQUEST_ID + changes: + - backend/**/* + when: always + - when: never + build-android: image: docker:latest @@ -30,3 +39,7 @@ build-android: - docker build --pull -t android . rules: - if: $CI_MERGE_REQUEST_ID + changes: + - android/**/* + when: always + - when: never