Jekyll project for my personal blog and portfolio at cameronstanley.com.
gem install jekyll
bundle install
bundle exec jekyll serve
GitHub Pages serves the site from master
, but source
is treated as the
default. Make all changes to source
, then run the following to push the
changes live.
git checkout source
JEKYLL_ENV=production jekyll build
git checkout master
cp -R _site/* .
git add .
git commit -m <commit_message>
git push origin master