下载源码
git clone git@github.com:liuxingjun/liuxingjun.github.io.git blog
git submodule init
git submodule update #下载模版or
git clone --recurse-submodules https://github.com/liuxingjun/liuxingjun.github.io.git blog
下载npm依赖
npm install生成静态文件(generate)并监视(watch)文件变动
npx hexo g -w启动服务器(server)使用静态(static)文件
npx hexo server -s使用 github actions 编译部署,提交代码到主分支即触发自动编译部署