fediparty/.gitlab-ci.yml

20 lines
273 B
YAML
Raw Normal View History

2018-03-12 19:31:14 +00:00
image: node:6.11.1
pages:
script:
2018-03-15 01:28:52 +00:00
- npm install
2018-03-15 02:04:19 +00:00
- npm install gulp -g
2018-03-12 19:31:14 +00:00
- gulp build --cwd ./themes/starter
2018-03-15 02:04:19 +00:00
- ./node_modules/hexo/bin/hexo generate
2018-03-12 19:31:14 +00:00
artifacts:
paths:
- public
2018-03-15 02:06:18 +00:00
cache:
paths:
- node_modules
key: project
2018-03-12 19:31:14 +00:00
only:
- master