On my octopress/jekyll blog http://www.railsonmaui.com, after I update an article and push to GitHub pages, the specific blog article is updating, but the home page of blog articles is not updating.
Is there any way to tell GitHub pages to clear the cache on the home page?
Any reason the home page is the only page that has this issue?
I experienced the same issue and found that stopping the Jekyll server
Server running... press ctrl-c to stop
and starting it again
jekyll serve
refreshed my home page
Upgrade your code to octopress v3 and now you have the rake deploy which will build, update & deploy your code to github.
You will have to set it up with:
rake setup_github_pages
# Build and deploy the blog to github
rake deploy
Once using this task you site will be updated with the latest code.
did you run jekyll build after updating?
Related
When I run jekyll serve locally, I get the following ouput
local site
Then when I push to Github and host on Github pages, the sidebar links don't work the same way
github pages site
I'm running jekyll 3.1.1 (latest version) while Github Pages depends on 3.0.3. Do I need to uninstall jekyll and install the older version? Or is there something I can do to make my local and Github pages match?
The repo on github is available at (sorry can only post 2 links)
github.com/samarthbhaskar/samarthbhaskar.github.io
With help from Github, I was able to solve this.
There was a whitespace issue in the front matter of my index.md file for the page I was trying to create. I erased and retyped the front matter as:
---
layout: page
title: Movie Reviews
---
... and that did the trick! Hope this answer helps someone else trying to solve the same issue. Now to figure out what might be going on with my Sublime Text 3 settings to cause white space issues.
You need to serve Jekyll with bundler, so it will reproduce the same environment as GitHub Pages does.
Follow the steps I described on this answer
And you should be ok.
Let me know how it goes for you ok?
Hope to have helped!
Additionally, you could force your push to the remote repo on github with a git command in order to override any inconsistencies between the local and remote repositories. But glad this worked out for you!
git push -f
A few months ago, I set up a site using jekyll and it's hosted on github pages here: http://sethxd.github.io. Originally, I just figured I'd let github pages handle the building because I wouldn't need to use plugins.
Well, now I'd like to use plugins. I've tried to follow a few tutorials online to set up a separate source branch, but I keep running into git errors and conflicts. I'd also like to set up a rakefile or other tool to build and deploy this automatically in the future.
I'm on Windows, running Jekyll 3.0.
GitHub Pages doesn't allow using most of Jekyll plugins for security reasons, but some can be used. The only way to deploy a Jekyll website to GitHub that uses plugins is via _site folder. You only upload the content of this folder, so GitHub won't build the site for you, it will display it as simple html.
When I click on a post on my local instance of Jekyll, all I see is a directory with index.html.textile.
My GitHub.io page works fine.
You have to install textile plugin. See documentation.
So I created a gh-pages repo in Github to host my portfolio but whenever someone goes there they have to log into Github to view. Gh-pages are supposed to be public so I have no idea why this is happening. My portfolio is just html and css.
Here's a link to the page : https://github.iu.edu/pages/iford/Portfolio/.
So the github I account I used to setup the portfolio was on a server running Github Enterprise that is why it wasn't truly "public". To fix this I just created a new github account through github (not an enterprise edition) and created a new repo for the page there. Done.
I have the simplest (default jekyll) page on github
https://github.com/pejot/pejot.github.io
When I run locally
bundle exec jekyll serve
it works fine.
but on the github domain
pejot.github.io
it says: "There isn't a GitHub Page here."
what can be a problem that it works locally but not on github? Please take into account that page is basically empty. Is the default one generated by jekyll.
I get it!
github takes gh-pages branch for project page and master for the user one.