Hexo Push to Github

如何將Hexo部署至 Github page 上面:

Quick Start

Step 1: 進入 Hexo 所在的資料夾中

1
cd /hexo/

Step 2: Edit _config.yml

1
vi _config.yml

Edit Deployment

1
2
3
4
deploy:
type: git
repository: https://github.com/cwt100/cwt100.github.io.git
branch: master
  • type 設定為 git
  • repository 設定為 github page 的repository

Step 3: Push to Github

1
hexo deploy

cwt’s Github page

文章目录
  1. 1. Quick Start
    1. 1.1. Step 1: 進入 Hexo 所在的資料夾中
    2. 1.2. Step 2: Edit _config.yml
      1. 1.2.1. Edit Deployment
    3. 1.3. Step 3: Push to Github
    4. 1.4. Step 4: Link to Github page to check
,