Browse Source

Merge pull request #1 from skullkid59600/feat-newcommit

 : add heroku
main
Chiara Brichot 6 years ago
committed by GitHub
parent
commit
78ab5a705a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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:$HEROKU_API_KEY@git.heroku.com/fathomless-refuge-91687.git HEAD: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

Loading…
Cancel
Save