Home > other > /turn post about using gitlab - runner automated build hexo can't find the git user configurati
/turn post about using gitlab - runner automated build hexo can't find the git user configurati
Time:10-01
Intend to deploy on gitlab hexo source code today, with the realization of automatic build functional gitlab - runner hexo static page generation The previous steps are also smoothly, and then write. Gitlab - ci. Yml file:
Image: node: 6.4.1
Stages: - pages - deploy
# generate hexo static page Pages: Stage: pages Tags: - hexo - blog - source - builder Script: - CNPM install # use taobao source CNPM to speed up the installation -./node_modules/hexo/bin/hexo generate Artifacts: Paths: - public Cache: Paths: - node_modules Key: project Only: - master
# will be generated pages submitted to the corresponding repository for automatic deployment Deploy: Stage: the deploy Tags: - hexo - blog - source - builder Script: -./node_modules/hexo/bin/hexo deploy Dependencies: - pages Cache: Paths: - node_modules Key: project Only: - master
Part pages can be executed properly, public folder can also pass to deploy normally But in the deploy performed in hexo deploy, report the following error:
As if said no configuration name and email, but I have configured the global user name and email, even generate a SSH secret key And I'm in the local manual hexo deploy is completely normal,,,