# Unable to host my hugo project on Github

**URL:** <https://discourse.gohugo.io/t/unable-to-host-my-hugo-project-on-github/19063>\
**Category:** support\
**Created:** [June 5, 2019, 10:29pm UTC](https://discourse.gohugo.io/t/unable-to-host-my-hugo-project-on-github/19063 "2019-06-05T22:29:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lenin\_Mishra](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/lenin_mishra/32/8872_2.png) [@Lenin\_Mishra](https://discourse.gohugo.io/u/Lenin_Mishra)\
**Post date:** [June 5, 2019, 10:29pm UTC](https://discourse.gohugo.io/t/unable-to-host-my-hugo-project-on-github/19063/1 "2019-06-05T22:29:34Z")

</div>

I have built a simple blogging website in Hugo using the [Coder theme](https://github.com/luizdepra/hugo-coder). I am unable to host it on Github. When I run  
`git submodule add -b master git@personal:pylenin/pylenin.github.io.git public`

It says `Adding existing repo at 'public' to the index`. But I don’t see any files in the public directory.  
Here is the link to my [github repo](https://github.com/pylenin/purple-blue)

---

<div class="post-metadata">

**Author:** ![Leopo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/leopo/32/8580_2.png) [@Leopo](https://discourse.gohugo.io/u/Leopo)\
**Post date:** [June 6, 2019, 1:28am UTC](https://discourse.gohugo.io/t/unable-to-host-my-hugo-project-on-github/19063/2 "2019-06-06T01:28:01Z")

</div>

Create the repo on github first and then clone it. Then put all the files you want in the repo folder and then you can push. Remember you first have to add and commit the files via git for them to be pushed.
