lyyourc / hexo-theme-again

lalala
104 stars 32 forks source link

Publishing to Github #2

Closed boldijar closed 8 years ago

boldijar commented 8 years ago

How can I publish with github? This is my repo https://github.com/BoldijarPaul/boldijarpaul.github.io

But I get

404

File not found

The site configured at this address does not contain the requested file.

If this is your site, make sure that the filename case matches the URL. For root URLs (like http://example.com/) you must provide an index.html file.

Read the full documentation for more information about using GitHub Pages.

How can I Fix this?

Thanks.

lyyourc commented 8 years ago

According to the doc - deploy, you need to:

  1. npm install hexo-deployer-git --save
  2. Edit the _config.yml:

    deploy:
    type: git
    repo: <repository url>
    branch: [branch]
    message: [message]
  3. deploy:

    hexo d -g
boldijar commented 8 years ago

Thank you for all your help.

jeyferd commented 5 years ago

can you please explain 2 step i m not getting it