exiting with 7 means could not connect. adding sleep to give container a second to spin up

This commit is contained in:
Jeff Lindsay
2013-06-30 01:47:10 -05:00
parent 65fb3c18c3
commit fc396490dd

View File

@@ -13,4 +13,5 @@ git commit -m 'initial commit'
REPO="test-$(basename $APP)-$RANDOM"
git remote add target git@$TARGET:$REPO
git push target master
sleep 2
./check_deploy "$(ssh dokku@$TARGET url $REPO)" && echo "-----> Deploy success!"