Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Hexo to deploy static site #392

Open
onmyway133 opened this issue Sep 3, 2019 · 0 comments
Open

How to use Hexo to deploy static site #392

onmyway133 opened this issue Sep 3, 2019 · 0 comments

Comments

@onmyway133
Copy link
Owner

onmyway133 commented Sep 3, 2019

It's been a long journey since #1, next step is to keep GitHub issues as source, and mirror those to a static site.

Use 2 repos

npm install -g hexo-cli
echo $PATH=$PATH:/Users/khoa/.nodenv/versions/10.15.2/bin/hexo
hexo init blog
npm install hexo-deployer-git --save

Update _config.yml

deploy:
  type: git
  repo: https://github.com/onmyway133/onmyway133.github.io.git
  branch: master
hexo clean
hexo deploy

Read more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant