From 6358bf78ea0300d2ca18865d1c0a769e69fb155d Mon Sep 17 00:00:00 2001 From: flaviut Date: Sun, 1 Jun 2014 02:11:43 -0400 Subject: [PATCH] use publish repo --- wercker.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wercker.yml b/wercker.yml index 63e8c00..5d85757 100644 --- a/wercker.yml +++ b/wercker.yml @@ -10,13 +10,11 @@ build: - script: name: build and deploy code: | - git config remote.origin.url $GIT_CREDENTIALS + git remote add publish $GIT_CREDENTIALS git config --global user.email $GIT_EMAIL git config --global user.name $GIT_NAME - git checkout gh-pages - git reset --hard master nanoc cp -r ./output/. ./ git add --all . git commit -am'Build Site' - git push --force + git push --force publish