nandomoreirame / end2end

💎 Clean Jekyll theme
https://nandomoreirame.github.io/end2end/
MIT License
275 stars 196 forks source link

The page build failed for the `gh-pages` branch #43

Open Gharibw opened 6 years ago

Gharibw commented 6 years ago

I have tried building the theme multiple times, but I keep getting the following error, even after completely deleting the includes.

A file was included insource/blog/index.htmlthat is a symlink or does not exist in your_includesdirectory. For more information, see https://help.github.com/articles/page-build-failed-file-is-a-symlink/.

Here's a link to my repo: https://github.com/gharibw/gharibw.github.io

Thank you!

aus10powell commented 6 years ago

I found the solution to this exact problem. I'm guessing you were also following the standard of pushing master branch to repo...this doesn't work.

  1. Make sure to change GITHUB_REPONAME and GITHUB_REPO_BRANCH from defaults
  2. Make sure to run install.sh
  3. In source/_sass/main.sass on line 8, make sure @import bourbon is @import "bourbon/bourbon"
  4. run rake in main directory

    I guess you can just create an archive branch and brute force push to master whenever you make a change. Perhaps it's because I'm not a hardcore software developer that I can't appreciate the convenience of such a method, but I am definitely not a fan of posting since it force commits the important files using the rake command.

lpossamai commented 5 years ago

I'm having the same issue. The solution mentioned by @aus10powell did not work.

kevinmmartins commented 5 years ago

Please check https://stackoverflow.com/questions/39978856/unable-to-change-source-branch-in-github-pages