Skip to content
Snippets Groups Projects
Commit 41440d47 authored by Augustin Lemesle's avatar Augustin Lemesle
Browse files

Update .gitlab-ci.yml

parent e14a4c71
No related branches found
No related tags found
No related merge requests found
Pipeline #30953 passed
......@@ -50,7 +50,7 @@ check-css:
script:
- npm install -g purify-css
- html=$(find test -name '*.html')
- find assets/css/ -name '*.css' ! -name swiper.css | xargs -I % purifycss % $html -o % --rejected > del-classes.o
- find assets/css/ -name '*.css' ! -name swiper.css | xargs -I % purifycss % $html -o % --whitelist otherVersion --rejected > del-classes.o
- if [ $(grep "PurifyCSS" del-classes.o | wc -l) = 0 ]; then echo "No CSS to clean"; else cat del-classes.o; exit 1; fi;
allow_failure: true
except:
......@@ -68,5 +68,3 @@ pages:
expire_in: 1 month
tags:
- docker
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment