blog/.gitlab-ci.yml

21 lines
305 B
YAML
Raw Normal View History

2016-02-29 14:25:06 +00:00
image: ruby:2.1
pages:
cache:
paths:
- build
script:
- apt-get update -yqqq
- apt-get install -y nodejs
- apt-get install -y npm
- ln -s /usr/bin/nodejs /usr/bin/node
- npm install hexo-cli -g
- npm install
- hexo deploy
artifacts:
paths:
- public
only:
- master