Merge branch 'developerdurp-main-patch-71954' into 'main'

Update .gitlab-ci.yml

See merge request developerdurp/k3s!15
This commit is contained in:
2022-11-13 15:33:41 +00:00

View File

@@ -142,17 +142,17 @@ k3s-destroy:
extends: .terraform_destroy
needs: ["k3s"]
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
changes:
paths:
- 'terraform/*'
- 'ansible/*'
when: manual
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: '$CI_COMMIT_BRANCH == "main"'
changes:
paths:
- 'ansible/dns.yml'
when: never
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: '$CI_COMMIT_BRANCH == "main"'
changes:
paths:
- 'terraform/*'
- 'ansible/*'
when: always
- when: never