mirror of https://gitlab.com/curben/blog
ci(gitlab): install hexo-cli globally
This commit is contained in:
parent
755e16c5de
commit
1e3c0bb778
|
@ -7,6 +7,7 @@ cache: # add cache to 'node_modules' for speeding up builds
|
||||||
test:
|
test:
|
||||||
before_script:
|
before_script:
|
||||||
- 'which ssh-agent || (apk update && apk add openssh-client git)'
|
- 'which ssh-agent || (apk update && apk add openssh-client git)'
|
||||||
|
- npm install --only=prod -g hexo-cli@hexojs/hexo-cli
|
||||||
- npm install --only=prod
|
- npm install --only=prod
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in New Issue