Home  >  Q&A  >  body text

macos - hexo,部署博客到github和coding上,代码put上去了,但是访问博客内容却没更新?

1.部署博客到coding上,执行hexo d命令,会提示nothing to commit, working directory clean
2.coding上看确实put上去了,但是访问博客内容却没更新、

PHP中文网PHP中文网2727 days ago803

reply all(9)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:33:23

    Githubpage will have a delay. It used to be about ten minutes. After the upgrade, it is said that the time is shorter. Based on my experience these past few times, it is basically updated in seconds during the day, but it may take a while at night.

    Also pay attention to browser cache.

    reply
    0
  • 某草草

    某草草2017-05-02 09:33:23

    Recommended: http://idisfkj.github.io/2016/03/04/Hexo-install/
    Are you sure you have configured it correctly?

    reply
    0
  • PHPz

    PHPz2017-05-02 09:33:23

    First hexo clean, then hexo g, and finally hexo d

    reply
    0
  • 怪我咯

    怪我咯2017-05-02 09:33:23

    You need to generate public before deploying. You may need to hexo g it. As for not committing, it is because there are no new changes. You can manually change the file content and try again

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-02 09:33:23

    hexo clean
    hexo d -g

    reply
    0
  • 怪我咯

    怪我咯2017-05-02 09:33:23

    The prompt "nothing to commit" is usually because the file has not been modified. Make sure you have modified the content before committing.

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:33:23

    If the world has not been refreshed after waiting for a long time, you can regenerate it again, hexo g -d.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-02 09:33:23

    Dear, did you push to the coding branch called gitcafe-pages?
    Although coding acquired gitcafe, I remember that the branch name should be coding-pages.

    reply
    0
  • 迷茫

    迷茫2017-05-02 09:33:23

    I also had this problem just now, and finally found out that the coding branch was not deployed properly. Please check the settings here

    Change this branch to the branch where you generated the URL.

    reply
    0
  • Cancelreply