Update .gitlab-ci.yml

This commit is contained in:
Kevin R 2020-11-21 00:43:31 +01:00
parent 5549fd3431
commit df75c5d363
No known key found for this signature in database
GPG Key ID: 97471F65F14A4C66

View File

@ -9,18 +9,9 @@ before_script:
- apt-get install -y zip unzip nodejs jsonlint - apt-get install -y zip unzip nodejs jsonlint
stages: stages:
- test
- build - build
- deploy - deploy
test rules:
stage: test
script:
- jsonlint-php data/data.min.json
only:
changes:
- data/data.min.json
hash rules: hash rules:
stage: build stage: build
script: script:
@ -32,12 +23,6 @@ hash rules:
- rules.min.hash - rules.min.hash
- data.minify.json - data.minify.json
- rules.minify.hash - rules.minify.hash
only:
refs:
- merge_requests
- master
changes:
- data/data.min.json
bundle addon: bundle addon:
stage: build stage: build
@ -63,12 +48,3 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
only:
refs:
- merge_requests
- master
changes:
- GitLabPages/*
- img/clearurls.svg
- data/data.min.json
- build_tools/minifyDataJSON.js