I'm using Github Pages to host & serve a static website.
The static website has the typical directory structure for an app:
.
├ source/
├ build/
│ └ index.html
├ .gitignore
├ config.rb
├ Gemfile
┆ ...
└ README.MD
index.html
is under build/
, so I want to make that the default www
path.
So when users hit username.github.io
it renders the content within that subdirectory and yet it doesn't show "/build/" on the URL, cause that's set as the root folder.
Notes:
- 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.
- Not using Jekyll nor the automatic page generator function.