Browse Source

🔧 modif config

main
Tristan 6 years ago
parent
commit
afa12c7eaf
  1. 2
      .circleci/config.yml

2
.circleci/config.yml

@ -56,7 +56,7 @@ jobs:
- run: - run:
name: Smoke test name: Smoke test
command: | command: |
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"
exit 1 exit 1

Loading…
Cancel
Save