mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-16 19:43:41 +00:00
deploy pages to docker-practice/us-en
This commit is contained in:
parent
2b6e28d6a9
commit
e9213ea244
10
.travis.yml
10
.travis.yml
@ -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-us-en
|
- DEPLOY_BRANCH: master
|
||||||
# - DEPLOY_BRANCH: legacy-pages
|
- DEPLOY_REPO: git@github.com:docker-practice/us-en.git
|
||||||
- REPO: git@github.com:yeasy/docker_practice.git
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
ssh_known_hosts:
|
ssh_known_hosts:
|
||||||
@ -52,6 +51,3 @@ addons:
|
|||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- english
|
- english
|
||||||
# - master
|
|
||||||
# - dev
|
|
||||||
# - docker-legacy
|
|
||||||
|
Loading…
Reference in New Issue
Block a user