diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d85978..b67514d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,18 +9,6 @@ stages: - build - deploy -hash rules: - stage: build - script: - - sha256sum data/data.min.json | awk '{print $1}' > rules.min.hash - - node build_tools/minifyDataJSON.js "data/data.min.json" "data.minify.json" - - sha256sum data.minify.json | awk '{print $1}' > rules.minify.hash - artifacts: - paths: - - rules.min.hash - - data.minify.json - - rules.minify.hash - build firefox: stage: build script: @@ -52,8 +40,13 @@ pages: - mkdir public - mv GitLabPages/* public/ - cp img/clearurls.svg public/clearurls.svg + - cp data/data.min.json public/data/data.min.json + - sha256sum public/data/data.min.json | awk '{print $1}' > public/data/rules.min.hash + - node build_tools/minifyDataJSON.js "public/data/data.min.json" "public/data/data.minify.json" + - sha256sum public/data/data.minify.json | awk '{print $1}' > public/data/rules.minify.hash artifacts: paths: - public - only: - - master \ No newline at end of file + - rules.min.hash + - data.minify.json + - rules.minify.hash