deploy.sh should make sure to deploy master
This commit is contained in:
parent
0088db46bf
commit
6b031732a6
|
@ -11,6 +11,7 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
cd $DIR
|
cd $DIR
|
||||||
echo "Repo directory is $DIR"
|
echo "Repo directory is $DIR"
|
||||||
|
|
||||||
|
git checkout master
|
||||||
git pull
|
git pull
|
||||||
git rev-parse HEAD > .tmp_id
|
git rev-parse HEAD > .tmp_id
|
||||||
if [ -d output ] && [ -f .head_id ] && diff -q .head_id .tmp_id; then
|
if [ -d output ] && [ -f .head_id ] && diff -q .head_id .tmp_id; then
|
||||||
|
|
Loading…
Reference in New Issue