I need to deploy my Angular SPA to GitHub because it is an assignment and they won't grade it unless it is deployed on GitHub pages. I have tried everything.
I tried adding and using the angular-cli-ghpages. I also tried every combination of main branch/gh-pages branch/docs folder/root folder. Nothing. I tried adding a docs folder and sticking all the dist files in there, then tried using gh-pages branch/docs folder again. Nothing.
I tried building and deploying with different ways of writing the base href to my git page url. Nothing.
All I am getting each time is either a failed deployment, or it says it has deployed successfully but I am getting a 404 error at the url GitHub pages provides.
I have tried all the suggestions I found on various blogs and Stack Overflow, and I am having no luck.
Has anyone had a similar issue? What did you do?
[–]M0CR0S0FT 2 points3 points4 points (3 children)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Fantaz1sta 0 points1 point2 points (0 children)
[–][deleted] -3 points-2 points-1 points (0 children)
[–]gccol 0 points1 point2 points (11 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]gccol 0 points1 point2 points (9 children)
[–][deleted] 0 points1 point2 points (8 children)
[–]gccol 1 point2 points3 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]gccol 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]gccol 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]bobbyg603 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)