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

Hexo 在用 Travis CI 使用 hexo g 命令生成页面里面没有内容

  •  
  •   jwangkun · 2016-12-22 14:07:30 +08:00 · 752 次点击
    这是一个创建于 2694 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天尝试了一下 Travis CI 来写博客,因为换电脑比较频繁,希望这样可以避免不必要的麻烦,测试的 时候也能 push 到 github ,但是打开页面发现都是空白的,这个是.travis.yml

    {
    "language": "node_js",
    "node_js": "stable",
    "install": [
    "npm install"
    ],
    "script": [
    "hexo g"
    ],
    "after_script": [
    "cd ./public",
    "git init",
    "git config user.name \"Fancy\"",
    "git config user.email \"[email protected]\"";,
    "git add .",
    "git commit -m \"Update docs\"",
    "git push --force --quiet \"https://${GH_TOCKEN}@${GH_REF}\" master:master"
    ],
    "global_env": "GH_REF=github.com/jwangkun/jwangkun.github.io.git",
    "group": "stable",
    "dist": "precise",
    "os": "linux"
    }


    这个是 Travis CI 的日志: https://s3.amazonaws.com/archive.travis-ci.org/jobs/185984043/log.txt
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3359 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:11 · PVG 22:11 · LAX 07:11 · JFK 10:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.