deploy pages to docker-practice/zh-cn

Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
pull/423/head
Kang HuaiShuai 2019-09-05 12:59:25 +08:00
parent 4e84715725
commit 96aa9b99de
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
1 changed files with 3 additions and 6 deletions

View File

@ -33,7 +33,7 @@ after_success:
- cd _book - cd _book
- git init - git init
- git remote add origin "$REPO" - git remote add origin "$DEPLOY_REPO"
- git add . - git add .
- COMMIT=`date "+%F %T"` - COMMIT=`date "+%F %T"`
- git commit -m "Travis CI Site updated $COMMIT" - git commit -m "Travis CI Site updated $COMMIT"
@ -41,9 +41,8 @@ after_success:
env: env:
global: global:
- DEPLOY_BRANCH: pages - DEPLOY_BRANCH: master
# - DEPLOY_BRANCH: legacy-pages - DEPLOY_REPO: git@github.com:docker-practice/zh-cn.git
- REPO: git@github.com:yeasy/docker_practice.git
addons: addons:
ssh_known_hosts: ssh_known_hosts:
@ -52,5 +51,3 @@ addons:
branches: branches:
only: only:
- master - master
- dev
# - docker-legacy