From 1644acc08f14c5bb7f4aaa4d0a98c057ab154523 Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Tue, 23 Sep 2014 19:28:25 -0400 Subject: [PATCH] Update wercker.yml Pull requests no longer update the website. --- wercker.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wercker.yml b/wercker.yml index 4ec56ac..7992abe 100644 --- a/wercker.yml +++ b/wercker.yml @@ -2,7 +2,7 @@ box: flaviut/nimrod-by-example-build-vm@0.0.3 build: steps: - script: - name: build and deploy + name: build code: | git remote add publish $GIT_CREDENTIALS git config --global user.email $GIT_EMAIL @@ -13,4 +13,9 @@ build: rm -rf ./output/ ./content/ ./layouts/ ./lib/ .gitignore README.md Rules nanoc.yaml wercker.yml git add --all . git commit -am'Build Site' +deploy: + steps: + - script: + name: deploy + code: | git push --force publish > /dev/null 2>&1