# Issue with github deploying

**URL:** <https://discourse.gohugo.io/t/issue-with-github-deploying/14059>\
**Category:** support\
**Created:** [September 4, 2018, 2:08pm UTC](https://discourse.gohugo.io/t/issue-with-github-deploying/14059 "2018-09-04T14:08:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kubar](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@kubar](https://discourse.gohugo.io/u/kubar)\
**Post date:** [September 4, 2018, 2:08pm UTC](https://discourse.gohugo.io/t/issue-with-github-deploying/14059/1 "2018-09-04T14:08:52Z")

</div>

Hi folks, I trying deploy my Hugo site and I use Hugo Docs instruction: `https://gohugo.io/hosting-and-deployment/hosting-on-github/#step-by-step-instructions.` There is example on Step-by-step Instructions (paragraph 6): `git submodule add -b master git@github.com:<USERNAME>/<USERNAME>.github.io.git public`  
That made confuse me. What do I need insert `USERNAME>/<USERNAME`?  
I’v attempt put: `git submodule add -b master git@github.com:cosmos-factory/test.github.io.github.io.git public`  
but then I obtain: fatal: repository ‘cosmos-factory/test.github.io’ does not exist.  
I have repository: `http://cosmos-factory/test.github.io`

---

<div class="post-metadata">

**Author:** ![ardianta](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ardianta/32/19629_2.png) [@ardianta](https://discourse.gohugo.io/u/ardianta)\
**Post date:** [September 5, 2018, 2:27pm UTC](https://discourse.gohugo.io/t/issue-with-github-deploying/14059/2 "2018-09-05T14:27:29Z")

</div>

> [@kubar](#):
>
> There is example on Step-by-step Instructions (paragraph 6): `git submodule add -b master git@github.com:<USERNAME>/<USERNAME>.github.io.git public`  
> That made confuse me.

You should fill the `<USERNAME>/<USERNAME>` with your Github username.

For example:

```auto
git submodule add -b master git@github.com:ardianta/ardianta.github.io.git public

```

Where `ardianta` is my Github username.

---

<div class="post-metadata">

**Author:** ![kubar](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@kubar](https://discourse.gohugo.io/u/kubar)\
**Post date:** [September 5, 2018, 4:57pm UTC](https://discourse.gohugo.io/t/issue-with-github-deploying/14059/3 "2018-09-05T16:57:16Z")

</div>

No, it doesn’t work

---

<div class="post-metadata">

**Author:** ![ardianta](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ardianta/32/19629_2.png) [@ardianta](https://discourse.gohugo.io/u/ardianta)\
**Post date:** [September 6, 2018, 12:15am UTC](https://discourse.gohugo.io/t/issue-with-github-deploying/14059/4 "2018-09-06T00:15:51Z")

</div>

Have you create the `<username>.github.io` repo on Github?
