Browse Source

Ajout curl

main
Julien Dudek 6 years ago
parent
commit
6374f6ba4c
  1. 6
      .circleci/config.yml

6
.circleci/config.yml

@ -124,7 +124,11 @@ jobs:
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main
- run: - run:
name: Smoke Test name: Smoke Test
command: echo todo && false
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: workflows:
version: 2 version: 2

Loading…
Cancel
Save