Reputation: 3
I deploy an angular project on GitHub successfully but when I click on the link of the project documentation appear instead of project How can I open the project on browser. the link of the project is https://khaledelmasry247.github.io/myNote/
Upvotes: 0
Views: 1323
Reputation: 11474
In order for GitHub pages to work with your project, you will need to build the angular project and push the built artifacts to your repository. You will also need to tell GitHub which directory to look at for your built files. It will look for index.html by default. Looking at your repo, it looks like you have already built your project and the files are in your gh-pages
branch. You will need to do something like @KushalSeth suggests, except in your instance, you will have to change it to look at the gh-pages
branch.
Settings
for your project.GitHub Pages
section.gh-pages
branch.Upvotes: 0
Reputation: 4629
I have faced the similar issue long back with my repository. You can check these steps:
Upvotes: 1
Reputation: 6313
This is Jekyll that runs by default on GitHub Pages.
You can disable it by adding the file .nojekyll
in the root of your project.
More here: https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/
Upvotes: 2