From 96aa9b99debf5161acf04bfdc02dcfdc3f05f6be Mon Sep 17 00:00:00 2001 From: Kang HuaiShuai Date: Thu, 5 Sep 2019 12:59:25 +0800 Subject: [PATCH] deploy pages to docker-practice/zh-cn Signed-off-by: Kang HuaiShuai --- .travis.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3e9d03..e98d6bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ after_success: - cd _book - git init -- git remote add origin "$REPO" +- git remote add origin "$DEPLOY_REPO" - git add . - COMMIT=`date "+%F %T"` - git commit -m "Travis CI Site updated $COMMIT" @@ -41,9 +41,8 @@ after_success: env: global: - - DEPLOY_BRANCH: pages - # - DEPLOY_BRANCH: legacy-pages - - REPO: git@github.com:yeasy/docker_practice.git + - DEPLOY_BRANCH: master + - DEPLOY_REPO: git@github.com:docker-practice/zh-cn.git addons: ssh_known_hosts: @@ -52,5 +51,3 @@ addons: branches: only: - master - - dev - # - docker-legacy