i came across the below error when i try to deploy my angular application to GitHub pages through
angular-cli-ghpages
these were bash commands that i used when pushing the website to the GitHub
ng build --prod --base-href "https://dinith72.github.io/aiesecLoginForm/" - to create the build version
ngh --dir dist/AiesecLogin -m "adding request for python serve"
i tried the options mentioned in the above git issue posted but could not find a solution to my issue . Thank you very much in advance .

I have use
travis-cifor this is better and in every commit will automatically build and deploy github pages and it 's not that much complicated simply just addtravis.ymland update baseurl inangular.jsonfor buildlike this:
"baseHref": "https://username.github.io/repo-name/"as example in my case :
"baseHref": "https://malbarmawi.github.io/angular-lessons/"travis.yml
finaly get github token , you can check my project
this the article that help me with this Deploying your Angular app to GitHub Pages using Travis-CI