25 lines
255 B
YAML
25 lines
255 B
YAML
|
# Deploy pages with hexo
|
||
|
image: node:4.2.2
|
||
|
|
||
|
pages:
|
||
|
stage: deploy
|
||
|
|
||
|
cache:
|
||
|
paths:
|
||
|
- node_modules/
|
||
|
|
||
|
script:
|
||
|
- npm install hexo-cli -g
|
||
|
- npm install
|
||
|
- hexo deploy
|
||
|
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public
|
||
|
|
||
|
only:
|
||
|
- pages
|
||
|
|
||
|
tags:
|
||
|
- pages
|