mirror of https://gitlab.com/curben/blog
changed image to node 4.2.2
This commit is contained in:
parent
5fda60c66f
commit
8c75157b47
|
@ -1,15 +1,11 @@
|
||||||
image: ruby:2.1
|
image: node:4.2.2
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- build
|
- node_modules/
|
||||||
|
|
||||||
script:
|
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-cli -g
|
||||||
- npm install
|
- npm install
|
||||||
- hexo deploy
|
- hexo deploy
|
||||||
|
|
Loading…
Reference in New Issue