better hpublish
This commit is contained in:
parent
485b5dec2d
commit
e2ad381c83
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,10 @@
|
|||
|
||||
if [[ $HOST = "YiMac.local" ]]; then
|
||||
cd $HOME/Sites/webroot
|
||||
git pull
|
||||
git co master
|
||||
[[ ! $? ]] && { exit 1 }
|
||||
git pull
|
||||
[[ ! $? ]] && { exit 1 }
|
||||
./tasks/recompile
|
||||
if git status | grep 'nothing to commit'>/dev/null 2>&1; then
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue