Http://zanderzhang.gitcafe.io/2015/09/17/hexo deploy to Gitcafe on static blog/
Title:hexo deploy to Gitcafe on static blog date:2015-09-17 00:14:24
Tags
Hexo these things,Zippera ' s blog, and so on, these are very clear.
There are, however, several special places:
You can't even get to Google when you want to insert a picture. All right, sleep, go ahead tomorrow.
When deploying deploy, there is a
ERROR Deployer not found:git ,
Plus
npm Install hexo-deployer-git--save , the previous type was to fill GitHub, and now it's git, presumably because there's a Web site that has hosted blogs in addition to GitHub.
If it is GitHub, branch can also not fill in the default master.
if it's gitcafe, you need to fill it in . gitcafe-pages , in the repo, you can directly git remote-v ,
Refer to link to establish branch gitcafe-pages.
Gitcafe page Help , in this case, because it doesn't have GitHub Desktop like GitHub now ,
in the Configuring the SSH public key a little bit more step at a time.
I follow the official tutorial,
ssh-t [email protected]
has been in the final detection of permissions when the permissions are not enough, I also delete the ~/.ssh file, because it includes the public key of GitHub, I think this is the reason, the back still appears permission denied. After I checked on the Internet, add this permission is OK.
chmod ~/.ssh
Write Markdown This is good---> MoU , for beginners like me, dual screen, can be viewed in real time, check errors and so on.
Hexo Clean
Very good, you can try.
Hexo s-g == Hexo Generate + Hexo Server , view in local
INFO Hexo is running at http://0.0.0.0:4000/. Press CTRL + C to stop.
Hexo d-g == Hexo Generate + Hexo Deploy , this is the deployment.
Hexo deploy to Gitcafe on the static blog