From b59d465d74bedf11e4bfa975470ee94a403b2a56 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 6 Jun 2018 21:32:03 +1200 Subject: [PATCH] Add Travis test 9 --- scripts/push-markua-to-branch.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/push-markua-to-branch.sh b/scripts/push-markua-to-branch.sh index 1210fb4..1c70a66 100755 --- a/scripts/push-markua-to-branch.sh +++ b/scripts/push-markua-to-branch.sh @@ -13,9 +13,10 @@ commit_website_files() { upload_files() { #git remote add origin-leanpub-preview https://${LEANPUB-PREVIEW-TOKEN}@github.com/funkypenguin/geek-cookbook.git > /dev/null 2>&1 - git remote add origin https://${TOKEN}@github.com/funkypenguin/geek-cookbook.git + git remote add origin-leanpub-preview https://${TOKEN}@github.com/funkypenguin/geek-cookbook.git + git pull origin-leanpub-preview leanpub-preview #git push --quiet --set-upstream origin-leanpub-preview leanpub-preview - git push --quiet --set-upstream origin leanpub-preview + git push --quiet --set-upstream origin-leanpub-preview leanpub-preview } setup_git