Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-26 23:37:32 +00:00
parent abd1186280
commit 03dd9529e0

View File

@@ -6,20 +6,17 @@ release_job:
stage: release # It only runs when *both* jobs in the test stage complete successfully.
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
- if: $CI_COMMIT_TAG
when: never
- if:
changes:
- README.md
- CHANGELOG
- .gitattribute
- .gitignore
- .gitlab-ci.yml
when: never
- if:
only:
# - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
refs:
- main
- ^tags
changes:
- ^README.md
- ^CHANGELOG
- ^.gitattribute
- ^.gitignore
- ^.gitlab-ci.yml
- data/**/*
- modinfo.lua
- thumb.png