V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
frankmdong
V2EX  ›  问与答

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

  •  
  •   frankmdong · 2016-04-08 18:23:45 +08:00 · 4881 次点击
    这是一个创建于 2950 天前的主题,其中的信息可能已经有所发展或是发生改变。

    前几天看到 这些年,我们知道的那些 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 条回复    2016-12-23 13:27:53 +08:00
    frankmdong
        1
    frankmdong  
    OP
       2016-04-10 17:10:10 +08:00
    有人知道吗!
    ZTfer
        2
    ZTfer  
       2016-12-23 13:27:53 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1261 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:46 · PVG 01:46 · LAX 10:46 · JFK 13:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.