Update gitlab-ci

This commit is contained in:
lostinlight 2018-04-03 02:49:02 +03:00
parent a6995eb7bd
commit 468f817443

View file

@ -1,5 +1,5 @@
image: node:6.11.1 image: node:latest
pages: pages:
script: script:
@ -7,6 +7,7 @@ pages:
- npm install gulp -g - npm install gulp -g
- gulp build --cwd ./themes/starter - gulp build --cwd ./themes/starter
- ./node_modules/hexo/bin/hexo generate - ./node_modules/hexo/bin/hexo generate
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \;
artifacts: artifacts:
paths: paths:
- public - public