exiting with 7 means could not connect. adding sleep to give container a second to spin up
This commit is contained in:
@@ -13,4 +13,5 @@ git commit -m 'initial commit'
|
|||||||
REPO="test-$(basename $APP)-$RANDOM"
|
REPO="test-$(basename $APP)-$RANDOM"
|
||||||
git remote add target git@$TARGET:$REPO
|
git remote add target git@$TARGET:$REPO
|
||||||
git push target master
|
git push target master
|
||||||
|
sleep 2
|
||||||
./check_deploy "$(ssh dokku@$TARGET url $REPO)" && echo "-----> Deploy success!"
|
./check_deploy "$(ssh dokku@$TARGET url $REPO)" && echo "-----> Deploy success!"
|
||||||
Reference in New Issue
Block a user