Browse Source

update deploy

main
Jean-François GAUTREAU 6 years ago
parent
commit
9152fd1726
  1. 7
      .circleci/config.yml

7
.circleci/config.yml

@ -130,7 +130,12 @@ jobs:
git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git 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