Browse Source

👷 update CI

main
Tarskan 5 years ago
parent
commit
fe8cd1e7ff
  1. 4
      .circleci/config.yml

4
.circleci/config.yml

@ -61,11 +61,11 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: git push https://heroku:$HEROKU_KEY@git.heroku.com/infinite-depths-70195.git HEAD:main
command: git push https://heroku:$HEROKU_KEY@git.heroku.com/boiling-everglades-40707.git HEAD:main
- run: - run:
name: Smoke Test name: Smoke Test
command: | command: |
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://infinite-depths-70195.herokuapp.com/`
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://boiling-everglades-40707.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy" echo "heroku app not responding, failing deploy"
exit 1 exit 1

Loading…
Cancel
Save