Skip to content

Instantly share code, notes, and snippets.

@lachlanjc
Created November 30, 2014 19:29
Show Gist options
  • Save lachlanjc/808bf5e0877ab1e85067 to your computer and use it in GitHub Desktop.
Save lachlanjc/808bf5e0877ab1e85067 to your computer and use it in GitHub Desktop.
Publishing a Wintersmith blog to GitHub Pages
#!/usr/bin/env bash
cd src
wintersmith build
cd ..
rm build/*
mv src/build/* .
rm -rf src/build
open .
git add .
git commit -am "$1"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment