Skip to content

Commit

Permalink
Stop deploying on heroku due to installation issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfonceca committed Oct 11, 2017
1 parent fea41b9 commit a324ffe
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions circle.yml
Expand Up @@ -8,29 +8,8 @@ test:
general:
artifacts:
- 'coverage'
deployment:
# deployment:
# production:
# branch: master
# commands:
# - fab deploy
production:
branch: master
commands:
- |
cat >~/.netrc <<EOF
machine api.heroku.com
login $HEROKU_EMAIL
password $HEROKU_TOKEN
machine git.heroku.com
login $HEROKU_EMAIL
password $HEROKU_TOKEN
EOF
- chmod 600 ~/.netrc # Heroku cli complains about permissions without this
- "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
- heroku maintenance:on --app staging-speakerfight
- heroku scale web=0 --app staging-speakerfight
- git push git@heroku.com:staging-speakerfight.git $CIRCLE_SHA1:refs/heads/master
- heroku run python manage.py migrate --app staging-speakerfight
- heroku run python manage.py compilemessages --app staging-speakerfight
- heroku scale web=1 --app staging-speakerfight
- heroku maintenance:off --app staging-speakerfight
# - fab deploy

0 comments on commit a324ffe

Please sign in to comment.