1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-23 11:28:31 +01:00
guida-fediverso/.gitlab-ci.yml

21 lines
373 B
YAML
Raw Normal View History

2018-03-12 20:31:14 +01:00
2018-04-04 03:34:01 +02:00
image: node:8.9
2018-03-12 20:31:14 +01:00
pages:
script:
2018-03-15 02:28:52 +01:00
- npm install
2018-03-15 03:04:19 +01:00
- npm install gulp -g
2018-03-12 20:31:14 +01:00
- gulp build --cwd ./themes/starter
2018-03-15 03:04:19 +01:00
- ./node_modules/hexo/bin/hexo generate
2018-04-03 01:49:02 +02:00
- find public -type f -iregex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -execdir gzip -f --keep {} \;
2018-03-12 20:31:14 +01:00
artifacts:
paths:
- public
2018-03-15 03:06:18 +01:00
cache:
paths:
- node_modules
key: project
2018-03-12 20:31:14 +01:00
only:
- master