From c37906de9c4ff10f7c1812e3a94353df748a5592 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 5 Nov 2022 10:11:14 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 264e91e..54b96c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,9 +19,10 @@ plan: allow_failure: false extends: .terraform_plan rules: - - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: $CI_PIPELINE_SOURCE == "merge_request_event" - changes: - 'terraform/*' + - when: never k3s: stage: build @@ -33,7 +34,8 @@ k3s: rules: - if: '$CI_COMMIT_BRANCH == "main"' - changes: - - 'terraform/*' + - 'terraform/*' + - when: never k3s-ansible: stage: build