debian-mirror-gitlab/lib/gitlab/ci/templates/Pages/Hexo.gitlab-ci.yml

17 lines
255 B
YAML
Raw Normal View History

2016-06-22 15:30:34 +05:30
# Full project: https://gitlab.com/pages/hexo
2017-08-17 22:00:37 +05:30
image: node:6.10.0
2016-06-22 15:30:34 +05:30
pages:
script:
2016-09-13 17:45:13 +05:30
- npm install
2017-08-17 22:00:37 +05:30
- ./node_modules/hexo/bin/hexo generate
2016-06-22 15:30:34 +05:30
artifacts:
paths:
- public
2017-08-17 22:00:37 +05:30
cache:
paths:
- node_modules
key: project
2016-06-22 15:30:34 +05:30
only:
2016-09-13 17:45:13 +05:30
- master