1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-22 19:28:53 +01:00
guida-fediverso/.gitlab-ci.yml
2018-04-03 06:44:40 +03:00

22 lines
404 B
YAML

image: node:6.11.1
pages:
script:
- npm cache clean --force
- npm install
- npm install gulp -g
- gulp build --cwd ./themes/starter
- ./node_modules/hexo/bin/hexo generate
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \;
artifacts:
paths:
- public
cache:
paths:
- node_modules
key: project
only:
- master