@ -121,10 +121,10 @@ jobs:
- checkout
- run:
name: Heroku Deploy
command: echo todo && false
command: git push heroku main
name: Smoke Test
command: ./heroku_test_dep.sh
workflows:
version: 2
@ -0,0 +1,6 @@
#!/bin/bash
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