https://www.statichost.eu/docs/
https://builder.statichost.eu/signup
my login id: luckypoem@gmail.com
https://www.statichost.eu/pricing/ ,Hobby plan is free. 1个账号下只能build 1 site,10 GB bandwidth,100 build minutes。
demo blog: https://mbgi.statichost.page/ ,基于jekyll. 我导入的项目是https://github.com/briteming/mbgi
(我另外注册了一个login id: ymbrite@gmail.com,
在此账号下,我部署了一个基于hugo的博客程序:https://icj.statichost.page/ . 我导入的项目是https://github.com/briteming/icj 。不过每新建一个源帖后,要在此平台上,手动部署一下,网站才会更新。新建一个源帖后,并不能触发平台自动部署。
注:
自动更新
GitHub更新之后没有触发自动部署。
https://www.statichost.eu/docs/git-providers
从文档可看到,要发送 post 请求到 https://builder.statichost.eu/YOUR_SITE_NAME 才能触发。
GitHub进项目的 settings – hooks – Add webhook ,Payload URL 填写 https://builder.statichost.eu/YOUR_SITE_NAME (换成自己的 https://builder.statichost.eu/icj),选择 application/json ,Enable SSL verification,Just the push event.,Add webhook 提交。
每次更新仓库便能触发平台自动构建。

No comments:
Post a Comment