Heroku run command exit status on Wercker
- script: name: migrate with south code: heroku run "python manage.py migrate" -a $HEROKU_APP_NAME
- script: name: install heroku-exit-status plugin code: heroku plugins:install https://github.com/glenngillen/heroku-exit-status.git
Now if the migrate fails, the Wercker deployment also fails.
I’ve made the full deploy steps available [in a Gist].