使用 Hugo + CloudFlare Pages + Github 自动化部署个人博客网

使用 Hugo + CloudFlare Pages + Github 自动化部署个人博客网站 在cloudflare pages托管博客 创建好第一篇博客后,就可以将它部署到网上了,这里使用GitHub+Cloudflare,GitHub代码托管,Cloudflare赛博菩萨,提供免费的全球CDN加速和网站托管服务。 GithubPages部署 配置Pages并关联代码仓库 等待部署完成 部署成功 我们的域名是:MakeMoney,https://funkygod.vip/ Github管理博客 在GitHub创建代码仓库,为推送hugo 博客到项目中做准备,且方便后续托管博客到cloudflare。 参考文档:利用Hugo和Cloudflare Pages搭建博客 | EndlessParadox 本地新建Hugo $ hugo new site blog-demo Congratulations! Your new Hugo site was created in D:\Code\blog-demo. Just a few more steps... 1. Change the current directory to D:\Code\blog-demo. 2. Create or install a theme: - Create a new theme with the command "hugo new theme <THEMENAME>" - Or, install a theme from https://themes.gohugo.io/ 3. Edit hugo.toml, setting the "theme" property to the theme name. 4. Create new content with the command "hugo new content <SECTIONNAME>\<FILENAME>.<FORMAT>". 5. Start the embedded web server with the command "hugo server --buildDrafts". See documentation at https://gohugo.io/. 主题安装: PaperMod 从这里面挑一个 https://themes.gohugo.io/ ...