-1

I could not deploy my hexo to github after I put in hexo deploy .

It will creat many files in .deploy folder, but then the shell window will get stuck .

I do not know what is the problem.

Could anyone help me?

Thank you

Neil
  • 1

1 Answers1

1

Could you add the error message generated by hexo please?

Follow this step, it should work:
1. Install hexo-deployer-git with npm install hexo-deployer-git --save
2. Edit In your hexo _config.yml (not the _config.ymlof your theme) :

deploy:
    type: git
    repo: <repository url>
    branch: [branch]
    message: [message]
  1. Run hexo clean
  2. Run hexo generate --deploy
Louis Barranqueiro
  • 10,058
  • 6
  • 42
  • 52