Github Pages is a quick and popular website hosting service for the Github repositories. We are going to deploy our website to Github Pages with Angular CLI
.
Of course we should have a Github repository and push our project codes.
You can quickly deploy the website in Angular CLI
by this command.
ng github-pages:deploy --message "Commit message"
The command will create a new branch: gh-pages
, which will store the build output files.
But before your deploy, notice that
After successfully deploying the project, now we can browse it on
{Github_id}.github.io/{repository_name}