outputting result from curl for deploy debugging

This commit is contained in:
Jeff Lindsay
2013-06-23 18:35:30 -07:00
parent 964299d167
commit b15b55f4af
4 changed files with 4 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/bash
set -e; test "$(curl -s $1)" == "nodejs/express"
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "nodejs/express"

View File

@@ -1,2 +1,2 @@
#!/bin/bash
set -e; test "$(curl -s $1)" == "<html><h3>php</h3></html>"
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "<html><h3>php</h3></html>"

View File

@@ -1,2 +1,2 @@
#!/bin/bash
set -e; test "$(curl -s $1)" == "python/flask"
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "python/flask"

View File

@@ -10,7 +10,7 @@ git config user.email "robot@example.com"
git config user.name "Test Robot"
git add .
git commit -m 'initial commit'
REPO="test-$APP-$RANDOM"
REPO="test-$(basename $APP)-$RANDOM"
git remote add target git@$TARGET:$REPO
git push target master
./check_deploy "$(ssh dokku@$TARGET url $REPO)" && echo "-----> Deploy success!"