【研究中】部署hugo-extend构建式静态网站到vercel和VPS

目前静态托管网站,支持hugoextended并且国内访问方便的就只有netlify了,然后今天他居然给我封号了????黑人问号。

在申诉的期间顺便找了一下替代方案,发现还是比较麻烦的。

hugo自动部署

  • Action成品

https://github.com/peaceiris/actions-hugo

  • NODE

https://blog.negoces.top/posts/3256da5e/

  • Travis CI 部署 Hugo 博客

https://guanqr.com/tech/website/deploy-hugo-with-travis-ci/ 到GithubPage

https://juejin.cn/post/6973679710131716104 到GithubPage

  • 到VPS

https://www.amistyrain.com/post/2021/02/28/travis-deploy-hugo-to-vps/ scp同步到云主机

https://blog.lancitou.net/using-github-actions-to-deploy-hugo-blog-to-self-hosted-vps/ rsync同步到云主机

https://w01fb0ss.github.io/2020/011/ 同样,GitHub action配置参考(无npm

  • 直推

https://mayanote.com/mark/post/one-click-deployment-of-hugo-blog-to-vps/ 不经过GitHub,直接git推送到VPS

  • 推public

https://zhuanlan.zhihu.com/p/397612900

CI工具

https://cloud.tencent.com/developer/article/1346876

https://travis-ci.org/

https://caprover.com/docs/get-started.html

远端同步方案

https://blog.csdn.net/ayuayue/article/details/109198480 hooks