Skip to content

SparkSeat/sparkseat.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

The jekyll/ruby source lives on the gh-pages branch, and the built site on master, as per github-pages convention for organisation-level sites which are pre-built.

rvm use 2.4.3
bundle install

Making Changes

This could probably be made into a Makefile, but it's probably not worth it.

# Clone the repo
git clone [email protected]:SparkSeat/sparkseat.github.io.git
cd sparkseat.github.io
git checkout gh-pages

# Make changes and commit
# vim index.html

# Build
JEKYLL_ENV=production jekyll build --destination _build

# Update build files on master
git checkout master
rsync -rv  --delete --exclude=.git --exclude=.gitignore --exclude=_build --exclude .nojekyll _build/ ./
rm -r _build

# Commit and push
git add .
git commit -m "Update to latest"
git push

# Checkout gh-pages again
git checkout gh-pages

Releases

No releases published

Packages

No packages published