如何将我的网站作为myname.gitlab.io托管在gitlab中

时间:2019-05-25 08:01:34

标签: gitlab

假设我的gitlab用户名是test。我想将我的网站托管为https://test.gitlab.io,而不使用baseurl。可能吗。我的意思是我需要https://test.gitlab.io/username而不是https://test.gitlab.io

1 个答案:

答案 0 :(得分:0)

GitLab pages documentation中,您似乎可以这样做:

  

在用户名john下,您创建了一个名为john.gitlab.io的项目。您的项目URL将为https://gitlab.com/john/john.gitlab.io。为项目启用GitLab页面后,您的网站将发布在https://john.gitlab.io下。