Skip to content

Instantly share code, notes, and snippets.

@jaredcunha
Created May 23, 2018 19:07
Show Gist options
  • Save jaredcunha/253d5cefd5d7332c3e3ac0bf32037757 to your computer and use it in GitHub Desktop.
Save jaredcunha/253d5cefd5d7332c3e3ac0bf32037757 to your computer and use it in GitHub Desktop.
If you're using an unsupported 3rd party gem on a Jekyll site you are hosting with GitHub pages…
rm -rf _site
bundle exec jekyll build
cd _site
git init
git remote add origin https://github.com/[username]/[repo_name].git
git checkout -b gh-pages
git add -A
git commit -m "update site"
git push -f origin gh-pages
cd ../
rm -rf _site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment