From f595ca131245d84adbcff59234bbf353ccec588a Mon Sep 17 00:00:00 2001 From: flaviut Date: Sat, 31 May 2014 23:56:13 -0400 Subject: [PATCH] Automate builds --- wercker.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 wercker.yml diff --git a/wercker.yml b/wercker.yml new file mode 100644 index 0000000..9558f44 --- /dev/null +++ b/wercker.yml @@ -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