I've pushed to
git subtree push --prefix dist origin gh-pages
I had similar issue today I only use github page to host a static site but it dislike my "vendor.bundle.js" which is generated by webpack(was working before though).
I searched all day and landed here soon as I change to "lib.bundle.js" it worked.
By the way .nojekyll file not working for me.