Update .gitlab-ci.yml
This commit is contained in:
@@ -117,14 +117,13 @@ k3s-destroy:
|
|||||||
allow_failure: false
|
allow_failure: false
|
||||||
extends: .terraform_destroy
|
extends: .terraform_destroy
|
||||||
needs: ["k3s"]
|
needs: ["k3s"]
|
||||||
when: manual
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
changes:
|
changes:
|
||||||
paths:
|
paths:
|
||||||
- 'terraform/*'
|
- 'terraform/*'
|
||||||
- 'ansible/*'
|
- 'ansible/*'
|
||||||
when: always
|
when: manual
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
changes:
|
changes:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Reference in New Issue
Block a user