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
stages:
- test
- build
- deploy
test rules:
stage: test
script:
- jsonlint-php data/data.min.json
only:
changes:
- data/data.min.json
hash rules:
stage: build
script:
@ -32,12 +23,6 @@ hash rules:
- rules.min.hash
- data.minify.json
- rules.minify.hash
only:
refs:
- merge_requests
- master
changes:
- data/data.min.json
bundle addon:
stage: build
@ -62,13 +47,4 @@ pages:
- sha256sum public/data/data.minify.json | awk '{print $1}' > public/data/rules.minify.hash
artifacts:
paths:
- public
only:
refs:
- merge_requests
- master
changes:
- GitLabPages/*
- img/clearurls.svg
- data/data.min.json
- build_tools/minifyDataJSON.js
- public