Automate builds

This commit is contained in:
flaviut 2014-05-31 23:56:13 -04:00
commit f595ca1312

25
wercker.yml Normal file
View file

@ -0,0 +1,25 @@
box: flaviut/python-ruby@0.0.2
build:
steps:
# Execute the bundle install step, a step provided by wercker
- bundle-install
# Execute a custom script step.
- script:
name: install nanoc
code: sudo gem install nanoc
- script:
name: install pygments
code: sudo pip install pygments
deploy:
steps:
- script:
name: build and deploy
code: |
git config remote.origin.url $GIT_CREDENTIALS
git checkout gh-pages
git reset --hard master
nanoc
cp -r ./output/. ./
git add --all .
git commit -am'Build Site'
git push --hard