add travis
parent
b470de0882
commit
7fccf1b2cd
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
pwd
|
||||||
git clone -b gh-pages "$REPO" .deploy_git
|
git clone -b gh-pages "$REPO" .deploy_git
|
||||||
- git ls-files | while read file; do touch -d $(git log -1 --format="@%ct" "$file") "$file"; done
|
|
||||||
if [ ! $? = 0 ];then
|
if [ ! $? = 0 ];then
|
||||||
#不存在
|
#不存在
|
||||||
echo -e "\033[31mINFO\033[0m BRANCH <gh-pages> NOT exist"
|
echo -e "\033[31mINFO\033[0m BRANCH <gh-pages> NOT exist"
|
||||||
|
@ -12,6 +12,7 @@ if [ ! $? = 0 ];then
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
#存在
|
#存在
|
||||||
|
git ls-files | while read file; do touch -d $(git log -1 --format="@%ct" "$file") "$file"; done
|
||||||
echo -e "\033[32mINFO\033[0m BRANCH exist"
|
echo -e "\033[32mINFO\033[0m BRANCH exist"
|
||||||
rm -rf .deploy_git/*
|
rm -rf .deploy_git/*
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# Docker — 从入门到实践
|
# Docker — 从入门到实践
|
||||||
|
|
||||||
|
[![Build Status](https://travis-ci.org/khs1994-gitbook/docker_practice.svg?branch=master)](https://travis-ci.org/khs1994-gitbook/docker_practice)
|
||||||
|
|
||||||
0.8.3
|
0.8.3
|
||||||
|
|
||||||
[Docker](http://www.docker.com) 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的运行效率,降低了云计算资源供应的成本! 使用 Docker,可以让应用的部署、测试和分发都变得前所未有的高效和轻松!
|
[Docker](http://www.docker.com) 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的运行效率,降低了云计算资源供应的成本! 使用 Docker,可以让应用的部署、测试和分发都变得前所未有的高效和轻松!
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue