Browse Source

deploy conf: auto uglify

master
hoschi-it 2 years ago
parent
commit
0a60452c5c
  1. 8
      .gitlab-ci.yml

8
.gitlab-ci.yml

@ -16,8 +16,12 @@ pages:
- minify --html index.html > min/index.html
- minify --css *.css > min/style.css
-
- ln -s node_modules/uglify/
- cp min public -r
- mkdir -p ugly
- uglify --css --source min/*.css --output ugly/style.css
- uglify --source min/*.js --output ugly/code.js
- cp ugly public -r
- cp min/*.html public/
artifacts:
paths:

Loading…
Cancel
Save