Browse Source

🐛 ERROR IN CONFIG FILE

main
tchawou-daniel 6 years ago
parent
commit
343fb62b7a
  1. 10
      .circleci/config.yml

10
.circleci/config.yml

@ -76,15 +76,7 @@ jobs:
- checkout
- run:
name: Heroku Deploy
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master
- run:
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
fi
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:main
buildandpush_dockerhub:
environment:
IMAGE_NAME: sipedaniel/backend-finalproject

Loading…
Cancel
Save