macos - hexo, deploy the blog to github and coding, the code is put, but the content of the blog is not updated when accessed?
PHP中文网
PHP中文网 2017-05-02 09:31:23
0
9
835

1. Deploy the blog to coding, execute the hexo d command, and you will be prompted with nothing to commit, working directory clean
2. The coding is indeed put, but the content of the blog is not updated when accessing it,

PHP中文网
PHP中文网

认证0级讲师

reply all(9)
过去多啦不再A梦

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.

某草草

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

PHPzhong

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

刘奇

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

滿天的星座
hexo clean
hexo d -g
刘奇

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

Ty80

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

漂亮男人

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.

迷茫

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template