0x01 Create Github repos
Create a repo for storing Hexo files
Create an empty repo named blog-deploy
.
0x02 Get and modify Hexo code
Get Hexo code and push
1 | $ git clone https://github.com/hexojs/hexo-starter blog-deploy |
0x03 Create a new Cloudflare Pages and connect your repo
Create a new Cloudflare Page
Connect it to your blog-deploy
repo.
Set Framework preset
to Hexo
and finish.
Wait the build finish and open your new blog.