Browse Source

🐛 test chemin en dur

main
guidezSeb 6 years ago
parent
commit
8629f7ba9e
  1. 10
      .circleci/config.yml

10
.circleci/config.yml

@ -66,11 +66,11 @@ jobs:
- run: - run:
name: Smoke test name: Smoke test
command: |
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" curl -s -o /dev/null -w "%{http_code}" https://whispering-forest-11533.herokuapp.com/api/articles`
- run:
name: Smoke test check
command: if [[ "$HTTPCODE" -ne 200 ]];then
echo "heroku app not responding, failing to deploy" && exit 1;
fi fi
docker-build-push: docker-build-push:
working_directory: /dockerapp working_directory: /dockerapp

Loading…
Cancel
Save