You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
305 B

image: node:latest
before_script:
- npm i minify -g
pages:
stage: deploy
script:
- rm public -Rf
- mkdir -p min
- minify *.js > min/code.js
- minify index.html > min/index.html
- minify *.css > min/style.css
- cp min public
artifacts:
paths:
- public
only:
- master