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
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-04-16 14:17:49 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-04-16 14:17:49 +0300
commitba684aecd7bddd755743bec818df046115e017b7 (patch)
tree42611d5fa4a49f874b43cd46f1fc7e6ae77b240f /lib
parent7994db791ab758d81f7a446eb8e2338336e184fd (diff)
parent2b4aaaa8aa24cdd40df4ad0d351a45cfa9b18822 (diff)
Merge branch '58748-update-nodejs-to-10.15.3' into 'master'
Update Node.js to 10.15.3 in CI template for Hexo See merge request gitlab-org/gitlab-ce!25943
Diffstat (limited to 'lib')
-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