Merge branch 'songtronix/fix-small-ci-mistake' into 'master'

fix(ci): avoid unneeded jobs on master

See merge request veloren/veloren!1026
This commit is contained in:
Songtronix 2020-05-30 09:29:23 +00:00
commit 6970f36185

View File

@ -2,8 +2,9 @@
.recompile:
rules:
- if: $CI_COMMIT_REF_NAME !~ /^master$/
- changes:
# No '-' here is *very* important: https://docs.gitlab.com/ee/ci/yaml/#complex-rule-clauses
changes:
- "**/*.{rs,ron,toml,vox,png}"
- "rust-toolchain"
- ".gitlab-ci.yml"
- "**/*.gitlab-ci.yml"
- "**/*.yml"