Browse Source

second commit

main
Martin 5 years ago
parent
commit
3d6e3d07ee
  1. 6
      .circleci/config.yml

6
.circleci/config.yml

@ -107,14 +107,14 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master
- run:
name: Smoke Test
command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/` command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy" echo "heroku app not responding, failing deploy"
exit 1 exit 1
fi fi
- run:
name: Smoke Test
command: echo todo && false
workflows: workflows:
version: 2 version: 2

Loading…
Cancel
Save