Update .gitlab-ci.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user