-
Notifications
You must be signed in to change notification settings - Fork 25.4k
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
GitHub Pages: Valid remote theme not recognized: Minimal Mistakes #1992
Comments
Everything looks correct to me. The only reason GitHub Pages would give you that error about MM not being supported is if you had it declared under I do see you've commented those lines out though. Is it possible you received that error before and since correcting it things are fine? Nothing else is jumping out to me as being incorrect in your setup. |
For comparison this is the |
I've taken a look at these, they were very helpful when I was porting to
the new theme.
I've had the `theme:` and Gem commented out a while ago, I'll do a push
again to force a redeploy just to make sure.
Thanks,
-ed
…On Wed, Dec 5, 2018 at 4:14 PM Michael Rose ***@***.***> wrote:
For comparison this is the _config.yml
<https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_config.yml>
and Gemfile
<https://github.com/mmistakes/minimal-mistakes/blob/master/docs/Gemfile>
I'm using for the demo site that is hosted on GitHub Pages using MM as a
remote_theme.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1992 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMjxuKbz-j6au_Xj2Ld92L336XdjXQ1ks5u2DcsgaJpZM4ZFCR1>
.
|
Pushed it and got the same error, is the next step GitHub support or is there something else you can think of? |
Yeah I'm out of ideas. I cloned your repo and built it locally just fine. You're using the GitHub Pages gem which is suppose to emulate the GH Pages environment and flag any errors for you.
Everything looks as it should and how I typically see things go when using remote themes. I can only assume there's something in your repo that GH is picking up where it thinks you're trying to use a gem based theme that isn't whitelisted. When remote theme is working correctly it just downloads the theme files directly from my repo and uses those to build the site. It's not doing any sort of dependency installs like the gem based stuff. |
I've send an email to support@github.com. I'll update when I get a response. Thanks for your help! |
Just dropping this in here to mention that I am also now experiencing this issue. My theme is currently falling back to my previous theme after upgrading to minimal mistakes. Github-Pages shows that it no longer supports "mmistakes/minimal-mistakes" in the commit history, which does not make sense because I can build it locally just fine. I can also see several example sites which import minimal mistakes with a near-identical _config.yml file as myself that are having no trouble using the remote theme. I suspect this is a github pages issue, but it's uncertain at this point. My site is at https://github.com/true-demon/truedemon.github.io for reference |
FYI my issue is still outstanding. Haven't received many suggestions from GH support. I think I may have to just copy the default _config.yml and then make customize it, testing each customization in case something breaks it. |
@edgriebel I’d take a close look at your _config.yml file. You might have some bad YAML that is tripping up GH pages during the build. For example you have That and all the |
I seem to have run into this too. A few related discoveries, but referring to other themes: |
Looks like the presence of a As a test @edgriebel, I’d try removing these lines. If it builds on GH-Pages then the bug seems legit and upstream related to either the github-pages gem or jekyll-remote-theme. |
That was it! Thanks so much for the help, it works now! |
Github pages build was failing when using a remote theme with the github key in _config.yaml See for details mmistakes/minimal-mistakes#1992 (comment) Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
Also remove unnecessary css and js files Major issue with github key in _config.yaml. Github pages build was failing when using a remote theme with the github key in _config.yaml. See for details mmistakes/minimal-mistakes#1992 (comment) Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
Also remove unnecessary css and js files Major issue with github key in _config.yaml. Github pages build was failing when using a remote theme with the github key in _config.yaml. See for details mmistakes/minimal-mistakes#1992 (comment) Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
See if this fixes the page build, according to mmistakes/minimal-mistakes#1992
Try per comments in issue mmistakes/minimal-mistakes#1992 (comment)
Description
I'm having a problem using minimal mistakes as a remote theme. When deploying to GitHub pages, the error email says "The minimal-mistakes theme is not currently supported." but the theme is #1 on the list of remote themes [1] so I don't understand why I'm getting this error message.
Environment
Expected behavior
Push to GitHub repo should rebuild and deploy jekyll site with new mmistakes theme
Steps to reproduce the behavior
Instead, when I push to GitHub I get an error email
I believe I have tried "everything" to get this working but it still doesn't work. Note that this runs fine locally for me on Linux (e.g. "bundle install; bundle exec jekyll serve"). I'm moving this from an existing GitHub theme if that makes a difference too.
What I've tried
I've followed the recommendations in the theme's quickstart [2], and also in GitHub's page to use a remote theme [3]. I've tried a number of things to fix this problem including stripping out all but essential gems from Gemfile and ensuring the url: matches my url, and trying the remote_theme: with and without fixing the version listed in the theme's quickstart. My Gemfile is here[4] and _config.yml is here[5].
I've looked at #1685 and #1339 and I don't think they apply.
I'm not asking to debug my _config.yml file (like, "Why does my text have a brown background?"), if it does look like that's the problem then I apologize in advance.
[1] https://github.com/topics/jekyll-theme
[2] https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
[3] https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/
[4] https://github.com/edgriebel/edgriebel.github.io/blob/master/Gemfile
[5] https://github.com/edgriebel/edgriebel.github.io/blob/master/_config.yml
The text was updated successfully, but these errors were encountered: