frankmdong
V2EX  ›  问与答

有人试过用 GitLab Pages 部署 hexo 博客吗?

  •  
  •   frankmdong · Apr 8, 2016 · 5905 views
    This topic created in 3886 days ago, the information mentioned may be changed or developed.

    前几天看到 这些年,我们知道的那些 pages 平台 这篇文章中提到 GitLab Pages 原生支持 hexo.(还有 Hugo 、 Middleman 、 Brunch 、 Metalsmith 、 Harp 等)

    其中 GitLab Documentation 写着

    • Find out the general domain name that is used for GitLab Pages (ask your administrator). This is very important, so you should first make sure you get that right.
    • Create a project
    • Push a .gitlab-ci.yml file in the root directory of your repository with a specific job named pages
    • Set up a GitLab Runner to build your website

    想尝尝鲜,但是还是不知道怎么去部署。是像原来 hexo deploy 上去还是把博客文件 commit 到 GitLab 中让他跑 Runner 构建?求指点~

    2 replies  •  2016-12-23 13:27:53 +08:00
    frankmdong
    frankmdong
    OP
    Apr 10, 2016
    1
    有人知道吗!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1880 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:26 · PVG 23:26 · LAX 07:26 · JFK 10:26
    ♥ Do have faith in what you're doing.