V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
armorsmith
V2EX  ›  Hexo

hexo deploy 问题

  •  
  •   armorsmith · 2017-03-29 15:25:32 +08:00 · 1677 次点击
    这是一个创建于 2585 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在我 deploy 的时候,他会报一个这样的错,

    remote: Permission to HuikangLiu/huikangliu.github.com.git denied to 4r0morsmith. fatal: unable to access 'https://github.com/HuikangLiu/huikangliu.github.com.git/': The requested URL returned error: 403

    其中 4r0morsmith 这个是之前的一个号,没怎么用过。估摸着大概是他部署的时候用的是我之前小号的账户。但是我 ssh 清过了 _config.yml 里也没看到有什么是跟具体如何选择上传用户有关的设置

    向大佬们求教,我该咋办

    3 条回复    2017-03-30 17:38:03 +08:00
    xialdj
        1
    xialdj  
       2017-03-29 15:56:26 +08:00 via iPhone
    git config
    xialdj
        2
    xialdj  
       2017-03-29 15:57:24 +08:00 via iPhone
    和 ssh key 有关
    armorsmith
        3
    armorsmith  
    OP
       2017-03-30 17:38:03 +08:00
    搞定啦,是因为用户不对,改了下就好了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1471 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 17:38 · PVG 01:38 · LAX 10:38 · JFK 13:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.