Browse Source

edit config

main
Gautier couture 6 years ago
parent
commit
fc71590c6e
  1. 4
      .circleci/config.yml
  2. 6
      test_hiroku.sh

4
.circleci/config.yml

@ -121,10 +121,10 @@ jobs:
- checkout
- run:
name: Heroku Deploy
command: echo todo && false
command: heroku open
- run:
name: Smoke Test
command: echo todo && false
command: ./heroku_test.sh
workflows:
version: 2

6
test_hiroku.sh

@ -0,0 +1,6 @@
HEROKU_APP_NAME="evening-cove-68662"
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
fi
Loading…
Cancel
Save