Angular 7 project doesn't publish on Github - shows only ReadMe file (I've used GitHub Pages)
See original GitHub issueWhen I publish Angular projects I usually always do the same thing… but for some reason it doesn’t work anymore. That’s exactly what I wrote: (The repo name is movies)
git init
git remote add origin <MyGitHubLink>
git add *
git commit -m 'first-commit'
git push -u origin master
ng build --prod --base-href https://itayperry.github.io/movies (from ghpages on github settings)
ngh --dir dist/movies
Then I get the message *** Successfully published! but all I see is the README file.
Please help me!!
The repository: https://github.com/itayperry/movies
The published page: https://itayperry.github.io/movies/
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
shows only ReadMe file (I've used GitHub Pages)
Angular 7 project doesn't publish on Github - shows only ReadMe file (I've used GitHub Pages) · Ask Question. Asked 3 years, 10...
Read more >Why is only the readme file being published to github pages
In all of the tutorials I watched it shows that the index.md file is what was being used to make web pages. I...
Read more >How to Fix "Only the Readme Is Appearing" When You've ...
Go to the settings page of the corresponding Github repo. Scroll down to the section titled GitHub Pages. · Go to your terminal...
Read more >Publishing your website - Learn web development | MDN
This article doesn't attempt to document all the possible methods. ... Now let's examine how to easily publish your site via GitHub Pages....
Read more >Create and Launch a Website from Start to Finish
GitHub Pages is a great way to get a simple, static website published online ... an HTML theme or template, not one of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The publishing with
nghworks correctly, as the build artifacts can be seen here on thegh-pagesbranch: https://github.com/itayperry/movies/tree/gh-pagesTherefore, this is not related to this project at all, so I will close the issue for now. Please check the repo setting on GitHub to see which branch is being used for GitHub Pages. It must be
gh-pagesand notmaster. Hope this helps!@itayperry Good luck