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 .
答案 0 :(得分:1)
我使用byte b = 255;
b.ToString("X2"); // Will give you the string "FF"
更好,并且每次提交都会自动构建和部署github页面,只需添加travis-ci
并更新{{1} }构建
像这样:
travis.yml
以我的情况为例:
angular.json
travis.yml
"baseHref": "https://username.github.io/repo-name/"
最终获得github token,您可以检查我的project
这篇有助于Deploying your Angular app to GitHub Pages using Travis-CI的文章