这些步骤曾经奏效。首先创建存储库:
https://github.com/fireflysemantics/help-service-parts
为其添加遥控器
git remote add origin git@github.com:fireflysemantics/help-service-parts.git
添加angular-cli-ghpages
:
ng add angular-cli-ghpages
并部署:
ng deploy --base-href=https://help-service-parts.fireflysemantics.com/ --cname=help-service-parts.fireflysemantics.com
完成此操作后,它确实创建了 cname 记录,并且我看到了 gp-pages 分支中的所有文件:
https://github.com/fireflysemantics/help-service-parts
但是,在查看设置时,自定义域字段未填充 cname 域,它表示该站点已准备好发布:
Your site is ready to be published at http://fireflysemantics.github.io/help-service-parts/.
但它没有出现在网址上:
http://fireflysemantics.github.io/help-service-parts/
我设置了 DNS 来解决它:
https://help-service-parts.fireflysemantics.com
还。
想法?