Revert back to npm install hexo-cli -g and changed to node:9.7

This commit is contained in:
Deon George 2018-03-07 16:25:20 +11:00
parent 396b3b2a07
commit 568fece78b
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254

View File

@ -1,5 +1,5 @@
# Deploy pages with hexo # Deploy pages with hexo
image: node:4.2.2 image: node:9.7
pages: pages:
stage: deploy stage: deploy
@ -9,7 +9,7 @@ pages:
- node_modules/ - node_modules/
script: script:
- npm install hexo --save - npm install hexo-cli -g
- npm install - npm install
- hexo generate - hexo generate