#!/bin/bash
rm -rf out || exit 0;
mkdir out;
( cd out
  git init
  git config user.name "Benjamin J. Kruger"
  git config user.email "bekroogle@gmail.com"
  haml ../index.haml ./index.html
  cp ../js ./ -r
  cp ../images ./ -r
  cp ../stylesheets ./ -r
  cp ../CNAME ./CNAME
  cp ../bower_components ./bower_components -r
  git add .
  git commit -m "Deployed to Github Pages"
  git push --force --quiet "https://${secure}@${GH_REF}" master:gh-pages > /dev/null 2>&1
)

#!/bin/bash
rm -rf out || exit 0;
mkdir out;
( cd out
  git init
  git config user.name "Benjamin J. Kruger"
  git config user.email "bekroogle@gmail.com"
  cp ../index.html ./index.html
  cp ../js ./ -r
  cp ../images ./ -r
  cp ../stylesheets ./ -r
  cp ../CNAME ./CNAME
  cp ../bower_components ./bower_components -r
  git add .
  git commit -m "Deployed to Github Pages"
  git push --force --quiet "https://${secure}@${GH_REF}" master:gh-pages > /dev/null 2>&1
)

Revert "Trying to improve Travis build."
Revert "Trying to improve Travis build."

...cause it's broken.

This reverts commit d146f7254b88de7b1e7f211719aec02be62ffc4a.
