npm install change the environment file npm run start //build and push to ghpage modify : "homepage": "URL", ng build --prod --base-href "URL" npx angular-cli-ghpages --dir=www