How to build and deploy to GitHub pages ng build --output-path docs --base-href /portfolio/ To /docs, add all the files in dist/portfolio/browser/ (there should be an easier way to do this) git add . git commit -m "some changes" git push