mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
outputting result from curl for deploy debugging
This commit is contained in:
@@ -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"
|
||||
@@ -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>"
|
||||
@@ -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"
|
||||
@@ -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!"
|
||||
Reference in New Issue
Block a user