Browse Source

Updated config.yml

main
guidezSeb 6 years ago
parent
commit
1442761e44
  1. 3
      .circleci/config.yml

3
.circleci/config.yml

@ -63,8 +63,7 @@ jobs:
- run: - run:
name: Deploy main to heroku name: Deploy main to heroku
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main
- run:
- run:
name: Smoke test name: Smoke test
command: | command: |
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles` HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/api/articles`

Loading…
Cancel
Save