Browse Source

first commit

main
hallouma875 6 years ago
parent
commit
21fc9f57a8
  1. 8
      .circleci/config.yml

8
.circleci/config.yml

@ -125,10 +125,10 @@ jobs:
- run:
name: Smoke Test
command: if [[ "$HTTPCODE" -ne 200 ]]; then
echo "heroku app not responding, failing deploy" \
exit 1 \
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://desolate-oasis-37147.herokuapp.com/`
command: 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
workflows:

Loading…
Cancel
Save