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

18 lines
284 B
YAML
Raw Normal View History

2016-06-22 15:30:34 +05:30
# Full project: https://gitlab.com/pages/hexo
2019-07-31 22:56:46 +05:30
image: node:10.15.3
2016-06-22 15:30:34 +05:30
pages:
script:
2019-07-31 22:56:46 +05:30
- npm install hexo-cli -g
- test -e package.json && npm install
- 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