-
Notifications
You must be signed in to change notification settings - Fork 12k
Successfully deploying to unsuccessful Github Pages #3794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Odd... recently that logic changed a bit, so maybe something is broken. Will investigate when I have time. |
Hi,
Version:
App is created using angular cli completely |
This may or may not be helpful, but I was having a similar issue on macOS Sierra, with a repo freshly boilerplated with angular-cli. I also have a custom domain tied to my GitHub Project Pages, so I have a CNAME in the |
I was having the same issue as you, I manage to solve it, here is how : clean the gh-pages branch (don't know if that mandatory to solve this propleme but i'v done it) # deleted the gh-pages branch on github
git push origin --delete gh-pages
# deleted the gh-pages branch on local
git branch -D gh-pages correct the name in angular-cli.json file, the case where wrong in mine (probably my fault ^^), "name": "oph"
-- replaced with
"name": "OPH" the name was also wrong in the package.json file re-deploy on gh-pages ng github-pages:deploy --message "your message commit" In my case the problem was solved by doing this. Hope it helps you guys |
@DanGeffroy I tried to redeploy but it only resulted in deleting my Angular /src folder and removing root files such as package.json, angular-cli.json, etc. I don't know why the program runs the 'clean' command if I just want to upload to pages:
|
@filipesilva i have observed following points while trying to resolve this may help you. 1.) with using hope this information will help in resolving the issue |
I'm I am having the same issues like yours guys. :( |
Closed via #4385. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
After 'successfully' deploying a basic site to Github Pages, the link shows a 404 Error site not found.

The link provided in console is https://doubleutf.github.io//personal-portfolio/. I'm told it may take a few minutes but it's been an hour and still there is no page. The git repo is here: https://doubleutf.github.io//personal-portfolio/. Here is a screenshot of the success message:
Since the page obviously did not successfully push and no error message is shown, I don't know what exactly went wrong after entering 'ng github-pages:deploy'. Please help!
OS?
Win7
Versions.
Repro steps.
The log given by the failure.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: