Browse Source

Update config.yml

main
ndrg13 6 years ago
committed by GitHub
parent
commit
4ee0515697
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .circleci/config.yml

7
.circleci/config.yml

@ -124,7 +124,11 @@ jobs:
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: echo todo && false
command: HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://$HEROKU_APP_NAME.herokuapp.com/`
if [ "$HTTPCODE" -ne 200 ];then
echo "heroku app not responding, failing deploy"
exit 1
fi
workflows: workflows:
version: 2 version: 2
@ -173,4 +177,3 @@ workflows:
filters: filters:
branches: branches:
only: main only: main
Loading…
Cancel
Save