Browse Source

Updated config.yml

main
Adrien-Ba 5 years ago
parent
commit
1140ce3f2c
  1. 4
      .circleci/config.yml

4
.circleci/config.yml

@ -107,10 +107,10 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: yarn start
command: git push https://heroku:19f982bf-2f59-4708-a7f4-3b471dab997e@git.heroku.com/ancient-wildwood-44370.git HEAD:main
- run: - run:
name: Smoke Test name: Smoke Test
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
command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://ancient-wildwood-44370.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