Browse Source

Updated config.yml

main
HenriBoulnois 5 years ago
parent
commit
9f120c0efb
  1. 11
      .circleci/config.yml

11
.circleci/config.yml

@ -110,11 +110,12 @@ jobs:
command: git push https://heroku:84a6e6ef-89a6-4750-9073-a451f0b53d29@git.heroku.com/damp-sea-12569.git HEAD:main command: git push https://heroku:84a6e6ef-89a6-4750-9073-a451f0b53d29@git.heroku.com/damp-sea-12569.git HEAD:main
- run: - run:
name: Smoke Test name: Smoke Test
command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://damp-sea-12569.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
fi
command: |
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://damp-sea-12569.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
fi
workflows: workflows:
version: 2 version: 2

Loading…
Cancel
Save