mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 07:23:38 +00:00
deploy pages to docker-practice/zh-cn
Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
This commit is contained in:
parent
4e84715725
commit
96aa9b99de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user