ndrg13
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
.circleci/config.yml
|
|
|
@ -124,10 +124,10 @@ jobs: |
|
|
|
command: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main |
|
|
|
- run: |
|
|
|
name: Smoke Test |
|
|
|
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 |
|
|
|
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: |
|
|
|
|