Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github: Unable to sync pages directory

I am currently using Github pages to host my personal website. This evening when I was working on the project, I at some point tried to push my changes, but got an email from Github saying:

The page build failed with the following error: unable to sync pages directory

I also checked the hosted page and sure enough none of the changes had been pushed. I am extremely perplexed as to why this is happening. Most of my changes were being made to my stylesheet, though I did delete a folder which it may not have liked. Before today the GH Pages had been performing wonderfully. I desperately need to make changes to this site so if anyone has any suggestions I would really appreciate it!

like image 810
Nicholas Haley Avatar asked Jan 19 '15 04:01

Nicholas Haley


2 Answers

So I sent Github an email explaining the problem and it turns out it was a problem on their end. Good to know!

like image 152
Nicholas Haley Avatar answered Oct 30 '22 09:10

Nicholas Haley


I think you moved your index.html file to some location other than the root directory. If that is the case, then github will throw the error above. To resolve this, move your index.html file back to the root folder, and make changes accordingly.

like image 2
Anshul Goyal Avatar answered Oct 30 '22 09:10

Anshul Goyal