Set subdirectory as website root on Github Pages
<p>I'm using <a href="https://pages.github.com/" rel="noreferrer">Github Pages</a> to host &amp; serve a static website.</p>
<p>The static website has the typical directory structure for an app:</p>
<pre><code>.
├ source/
├ build/
│ └ index.html
├ .gitignore
├ config.rb
├ Gemfile
┆ ...
└ README.MD
</code></pre>
<p><code>index.html</code> is under <code>build/</code>, so I want to make that the default <code>www</code> path.</p>
<p>So when users hit <code>username.github.io</code> it renders the content within that subdirectory and yet it doesn't show &quot;/build/&quot; on the URL, cause that's set as the root folder.</p>
<p>Notes:</p>
<ul>
<li>I don't have a custom domain nor planning to get one for this purpose. As you can see, I'm trying to leverage the default URL naming convention github provides.</li>
<li>Not using <a href="https://github.com/jekyll/jekyll" rel="noreferrer">Jekyll</a> nor the automatic page generator function.</li>
</ul>