outputting result from curl for deploy debugging
This commit is contained in:
1 parent
964299d167
commit
b15b55f4af
4 files changed
+4
-4
No files matched your search
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e; test "$(curl -s $1)" == "nodejs/express"
|
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "nodejs/express"
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/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>"
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e; test "$(curl -s $1)" == "python/flask"
|
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "python/flask"
|
||||||
+1
-1
@@ -10,7 +10,7 @@ git config user.email "robot@example.com"
|
|||||||
git config user.name "Test Robot"
|
git config user.name "Test Robot"
|
||||||
git add .
|
git add .
|
||||||
git commit -m 'initial commit'
|
git commit -m 'initial commit'
|
||||||
REPO="test-$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
|
||||||
./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