armorsmith
V2EX  ›  Hexo

hexo deploy 问题

  •  
  •   armorsmith · Mar 29, 2017 · 2532 views
    This topic created in 3332 days ago, the information mentioned may be changed or developed.

    在我 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 replies    2017-03-30 17:38:03 +08:00
    xialdj
        1
    xialdj  
       Mar 29, 2017 via iPhone
    git config
    xialdj
        2
    xialdj  
       Mar 29, 2017 via iPhone
    和 ssh key 有关
    armorsmith
        3
    armorsmith  
    OP
       Mar 30, 2017
    搞定啦,是因为用户不对,改了下就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 07:53 · PVG 15:53 · LAX 00:53 · JFK 03:53
    ♥ Do have faith in what you're doing.