Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2019-03-10 12:16:04 +0300
committerTakuya Noguchi <takninnovationresearch@gmail.com>2019-03-10 12:26:37 +0300
commit2b4aaaa8aa24cdd40df4ad0d351a45cfa9b18822 (patch)
tree7ef752c45766c01075343c9b99963b3c7918cd6d /lib/gitlab/ci/templates/Pages
parentfa90b10f228646ee746337ad0edf9e840569dd80 (diff)
Update node.js to 10.15.3 in CI template for Hexo
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Diffstat (limited to 'lib/gitlab/ci/templates/Pages')
-rw-r--r--lib/gitlab/ci/templates/Pages/Hexo.gitlab-ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/gitlab/ci/templates/Pages/Hexo.gitlab-ci.yml b/lib/gitlab/ci/templates/Pages/Hexo.gitlab-ci.yml
index 02d02250bbf..a9e195370f7 100644
--- a/lib/gitlab/ci/templates/Pages/Hexo.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Pages/Hexo.gitlab-ci.yml
@@ -1,10 +1,11 @@
# Full project: https://gitlab.com/pages/hexo
-image: node:6.10.0
+image: node:10.15.3
pages:
script:
- - npm install
- - ./node_modules/hexo/bin/hexo generate
+ - npm install hexo-cli -g
+ - test -e package.json && npm install
+ - hexo generate
artifacts:
paths:
- public