1 初始化部署
1.1 本地化部署
1 | 1. 加入PPA仓库 |
- 安装 hexo
1.2 docker
1 | docker pull taskbjorn/hexo |
1.3 配置
- 创建名为
username.github.io
的仓库 - 安装 git 插件:
npm install --save hexo-deployer-git
_config.yml
配置1
2
3
4deploy:
type: git
repo: Fill in the full path of the warehouse you created on Gitee before, remember to add .git (in fact, paste the clone ssh address of the newly created warehouse)
branch: master
2 主题配置
-------------本文结束感谢您的阅读-------------
本文作者:
Corner
本文链接: http://corner430.github.io/2021/05/29/%E6%90%AD%E5%BB%BAhexo%E5%8D%9A%E5%AE%A2/
版权声明: 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。转载请注明出处!
本文链接: http://corner430.github.io/2021/05/29/%E6%90%AD%E5%BB%BAhexo%E5%8D%9A%E5%AE%A2/
版权声明: 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。转载请注明出处!
