Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-26 21:54:06 +00:00
parent a9669348c3
commit f9c2156b3c

View File

@@ -22,19 +22,18 @@ stages: # List of stages for jobs, and their order of execution
release_job:
rules:
- if: $CI_COMMIT_TAG
when: never # Do not run this job when a tag is created manually
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# rules:
# - if: $CI_COMMIT_TAG
# when: never # Do not run this job when a tag is created manually
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
stage: release # It only runs when *both* jobs in the test stage complete successfully.
image: registry.gitlab.com/gitlab-org/release-cli:latest
only:
- paths:
- "data/.*"
- "modinfo.lua"
- "thumb.png"
- "data/.*"
- "modinfo.lua"
- "thumb.png"
script: