Revert "Added build.sh"

This reverts commit 27ce1433ad.
This commit is contained in:
Oliver Davies 2015-04-08 23:53:33 +01:00
parent 27ce1433ad
commit 1c4283ba93
2 changed files with 0 additions and 26 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
/gh-pages-deployment/
/output_*/
/source/components/
/.sculpin/

View file

@ -1,25 +0,0 @@
#!/bin/bash
set -x
sculpin='/usr/local/bin/sculpin'
deploy_dir='./gh-pages-deployment'
branch='master'
rm -rf ./output_prod
${sculpin} generate --env=prod
rm -rf ${deploy_dir}
git clone git@github.com:opdavies/opdavies.github.io.git ${deploy_dir}
pushd ${deploy_dir}
git checkout -B ${branch}
cp -R ../output_prod/* ./
git add -A .
git commit -m "Deploying sculpin-generated pages to \`${branch}\` branch"
git push origin master --force
popd