【发布时间】:2020-03-21 16:43:03
【问题描述】:
我在 github 上创建了一个存储库,我想发布一个使用 hexo 创建的博客。
我的仓库的html地址是:
https://github.com/<my account name>/<my blog name>
我博客的html地址是:
https://<my account name>.github.io/<my blog name>/
我正在使用插件 hexo-deployer git。我像这样配置_config.yml:
deploy:
type: git
repos: git@github.com:<my account name>/<my account name>.github.io/<my blog name>.git
branch: master
message: "{{ now('YYYY-MM-DD HH:mm:ss') }}"
但这不起作用!
INFO 部署:git 您必须先在 _config.yml 中配置部署设置!
我的语法有什么问题?
提前谢谢你,
【问题讨论】: