个人博客
提交代码到 hugo
分支即可触发 GitHub Action
,自动发布部署,部署在 GitHub 提供的 page 上,编译后代码在 gh-pages
分支。
使用的轻量云服务器(docker 环境),由于证书问题,不在线上自动化打包,需要本地打包再提到阿里云服务上运行。
步骤:
make docker-build v=latest
make docker-push v=latest
或:
make docker-release v=latest
一键部署,但是确保机器有登录权限