# Unable to locate config file or config directory - R Blogdown + GitHub + Netlify

**URL:** <https://discourse.gohugo.io/t/unable-to-locate-config-file-or-config-directory-r-blogdown-github-netlify/33898>\
**Category:** support\
**Tags:** netlify\
**Created:** [July 19, 2021, 12:44am UTC](https://discourse.gohugo.io/t/unable-to-locate-config-file-or-config-directory-r-blogdown-github-netlify/33898 "2021-07-19T00:44:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)\
**Post date:** [July 19, 2021, 1:53am UTC](https://discourse.gohugo.io/t/unable-to-locate-config-file-or-config-directory-r-blogdown-github-netlify/33898/2 "2021-07-19T01:53:16Z")

</div>

I think this is because you’ve committed your ‘public’ directory (i.e. the final output) rather than the ‘source’ that Netlify will use to build and deploy your site.

If you want to build your site on your own machine, you can just [drag and drop](https://app.netlify.com/drop?_ga=2.169467170.2075399113.1626659325-207548879.1626045179) the `public` folder, and netlify will serve it. This is a pretty simple way to do things.

If you want to use Netlify’s [continuous deployment](https://docs.netlify.com/configure-builds/common-configurations/hugo/), commit your whole project: i.e. the `content`, `themes`, `static` folders, without the `public` folder.

---

_[View the full topic](https://discourse.gohugo.io/t/unable-to-locate-config-file-or-config-directory-r-blogdown-github-netlify/33898)._
