Skip to content

GitLab-CI Template importing wrong template for Hexo

Running GitLab 8.10.5, when I try and setup a Hexo gitlab-ci template via the "Setp Up CI" link on the project page, I choose the Hexo template and it seems to be importing the commands for Hyde. Ironically, the header correctly mentions Hexo.

Imported template

# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/hexo
image: python:2.7

cache:
  paths:
  - vendor/

test:
  stage: test
  script:
    - pip install hyde
    - hyde gen
  except:
    - master

pages:
  stage: deploy
  script:
    - pip install hyde
    - hyde gen -d public
  artifacts:
    paths:
    - public
  only:
    - master

Expected template according to https://gitlab.com/pages/hexo

image: node:4.2.2

pages:
  cache:
    paths:
    - node_modules/

  script:
  - npm install hexo-cli -g
  - npm install
  - hexo deploy
  artifacts:
    paths:
    - public
  only:
  - master