|
|
@ -63,7 +63,6 @@ jobs: |
|
|
- run: |
|
|
- run: |
|
|
name: Smoke test |
|
|
name: Smoke test |
|
|
command: | |
|
|
command: | |
|
|
./testbackend.sh |
|
|
|
|
|
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles` |
|
|
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles` |
|
|
if [ "$HTTPCODE" -ne 200 ];then |
|
|
if [ "$HTTPCODE" -ne 200 ];then |
|
|
echo "heroku app not responding, failing deploy" |
|
|
echo "heroku app not responding, failing deploy" |
|
|
|