jason19970210 / jason19970210.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexo & Github Page

pages-build-deployment

link: https://jason19970210.github.io

Setup environment

$ npm install hexo-cli hexo-deployer-git -g

Init repo & Install dependencies

$ hexo init personal-blog
$ npm i

Setup configuration (Github SSH key required)

$ vim _config.yml


deploy:
  type: git
  repository: git@github.com:jason19970210/jason19970210.github.io.git
  branch: main

Add a README.md to Github repo

$ echo '## Hexo & Github Page' > ./source/README.md
$ vim _config.yml


# Directory
...
skip_render: README.md

Generate & deploy

$ hexo g -d

About


Languages

Language:HTML 100.0%