I have created a simple web site for GitHub Pages. The source of the site is in the \"master\" branch and the generated web site (what I want to see published) is under the \"gh
Ok so if you are using angular-cli-ghpages it will by default create a new branch gh-pages
and publish to it.
Now as a starter, like me, if you are using https://user-name.github.io/ and you want your app to be published from the master branch of your user-name.github.io
you can follow the below steps.
Make a production ready build using
ng build --prod --base-href "/user-name.github.io/"
Deploy to the master using angular-cli-ghpages
using
angular-cli-ghpages --branch=master
Hope this helps.