New file `.gitlab-ci.yml` template for Hexo contains incorrect build instructions
Summary
When creating a new file, the .gitlab-ci.yml template for Hexo has build script for Hyde, instead of Hexo.
Steps to reproduce
-
Start adding a new file via web interface on any repo
-
Change filename to
.gitlab-ci.yml -
CI template select should appear
-
In "Choose template", go for
Hexo -
Contents of new file editor replaced with:
# 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 behavior
As steps above, but .gitlab-ci.yml file should be replaced with one similar to the one in the Hexo pages demo: https://gitlab.com/pages/hexo#gitlab-ci
Relevant logs and/or screenshots
Possible fixes
Looks like this template file needs updating: https://gitlab.com/gitlab-org/gitlab-ci-yml/blob/master/Pages/Hexo.gitlab-ci.yml
