确实是Hell不是Hello,没有少写一个o。
还以为自己已经是个老司机了,没想到还是踩了好几个坑,其中两个值得特别记录一下:
- 为了避免部署时大头,
theme最好以submodule的形式引用 - 由于
GitHub Actions会生成一个gh-pages分支用于部署,所以需要将settings → Pages → Build and deployment → Branch由main改为gh-pages
以上。
确实是Hell不是Hello,没有少写一个o。
还以为自己已经是个老司机了,没想到还是踩了好几个坑,其中两个值得特别记录一下:
theme最好以submodule的形式引用GitHub Actions会生成一个gh-pages分支用于部署,所以需要将settings → Pages → Build and deployment → Branch由main改为gh-pages以上。