Your site is having problems building: Page build failed.


After I build my docfx website and push the content to gh-pages branch trough this git action:

the github pages it’s not build successfully and if I got to the repo settings I can see this error

“Your site is having problems building: Page build failed.”

I already tried also to push a .nojekyll file and to push an empty commit to try trigger the buil process again but no luck.

Please note if I go to github pages repo settings, switch the source to another branch and than switch back to gh-pages branch, the site is build successfully.



It appears that you’re running into the same problem that is described in another topic. Essentially, pushing to a branch using the GITHUB_TOKEN does not trigger a Pages build. Since this is a duplicate of that other topic, I’m going to go ahead and close this one. You may want to subscribe there for updates.

Thanks for reaching out!