Browse Source

first commit

main
hallouma875 6 years ago
parent
commit
319bd5b046
  1. 4
      .circleci/config.yml

4
.circleci/config.yml

@ -121,14 +121,14 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master
command: git push https://heroku:79293352-0dfa-4a15-bb5c-e392edd1d84f@git.heroku.com/desolate-oasis-37147.git HEAD:master
- run: - run:
name: Smoke Test name: Smoke Test
command: if [[ "$HTTPCODE" -ne 200 ]]; then command: if [[ "$HTTPCODE" -ne 200 ]]; then
echo "heroku app not responding, failing deploy" \ echo "heroku app not responding, failing deploy" \
exit 1 \ exit 1 \
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/`
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://desolate-oasis-37147.herokuapp.com/`
fi fi
workflows: workflows:

Loading…
Cancel
Save