|
|
|
image: node:6.11.1
|
|
|
|
pages:
|
|
cache:
|
|
untracked: true
|
|
key: "$CI_BUILD_REF_NAME"
|
|
paths:
|
|
- node_modules/
|
|
|
|
script:
|
|
- npm install gulp -g
|
|
- npm install hexo-cli -g
|
|
- npm install
|
|
- gulp build --cwd ./themes/starter
|
|
- hexo deploy
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|