动手部署hexo博客

动手部署hexo博客
Akatshi部署流程
创建 Hexo blog 工作目录
1 | $ hexo new blog |
安装 anzhiyu-theme 至 blog
1 | $ git clone -b main https://github.com/anzhiyu-c/hexo-theme-anzhiyu.git themes/anzhiyu |
修改配置文件
将主题自带的配置文件复制至工作目录并重命名为’_config.anzhiyu.yml’
1 | $ cp <workspace>/theme/anzhiyu/_config.uml <workspace>/_config.anzhiyu.yml |
修改默认配置文件’_config.yml’
跑起来看看?
1 | $ hexo s |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment