Created
May 23, 2018 19:07
-
-
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…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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