Hexo blog upload updates, can be updated in github, localhost:4000 has also been updated, but the blog is not updated

I don"t know how to push or something, but it has been updated on github and localhost:4000, but there is no update in the blog.
in fact, the workstation I was using was moved here, and then a new branch of hexo was created in github"s library, and then somehow, it seems that the content in the two scores is the opposite of what I imagined. The new hexo branch of
becomes the html code of the blog, and the original master becomes the source code of the blog (that is, a bunch of CSS) or something. I don"t know what effect it will have.

clipboard.png

clipboard.png

"Yeasion.github.io",github:"www.github.com/Yeasion/yeasion.github.io"
pushhexo d....

hexo clean
.gitpublic

:
master
:
Pic

Jun.17,2022

(v) well, let me first think about the question of the subject. It should be like this

.
  1. localhost:4000 shows normal
  2. the code of the github remote warehouse also shows the latest (consistent with localhost)
  3. Yeasion.github.io this domain name is not consistent with the localhost:4000 display
The reason for this is that github's render is not real-time . The code is first uploaded to the github repository, and then github will pull the file from the github repository and render it into a static page after a period of time. So just wait. The longest is probably no more than half an hour.

as for this technique:

hexo clean
hexo g
hexo d

is used to update the github repository if the localhost and github repositories are inconsistent.

-

in addition, generally hexo d push to the gh-pages branch by default, which is the default branch of github pages

The

problem has been resolved, just change the branch of deploy in the configuration file back to master.

Menu