Browse Source

smoke test

main
Louis Dutoit 6 years ago
parent
commit
f51afbf445
  1. 8
      .circleci/config.yml

8
.circleci/config.yml

@ -121,10 +121,14 @@ jobs:
- checkout - checkout
- run: - run:
name: Heroku Deploy name: Heroku Deploy
command: echo todo && false
command: git push https://heroku:f11ddde7-1bdf-4e9d-b8ad-da4e0ff59c25@git.heroku.com/morning-island-14161.git HEAD:master
- run: - run:
name: Smoke Test name: Smoke Test
command: echo todo && false
command: |
if [[ "$HTTPCODE" -ne 200 ]]; then
echo "heroku app not responding, failing deploy" \
exit 1 \
HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://morning-island-14161.herokuapp.com/`
workflows: workflows:
version: 2 version: 2

Loading…
Cancel
Save