Yu-Jack / yu-jack.github.io

This is a blog.
https://yu-jack.github.io/
9 stars 0 forks source link

Add source branch? #2

Closed iampaul83 closed 2 years ago

iampaul83 commented 6 years ago

我上次是把 source 放在 master, 網頁放在 gh-pages

我是在 _config.yml 裡面設定 deploy (Docs: https://hexo.io/docs/deployment.html)

在 package.json 新增

"scripts": {
  "deploy": "hexo clean && hexo deploy"
},
Yu-Jack commented 6 years ago

Good idea.