Permalink
Browse files

updated deploy script

  • Loading branch information...
Shaun Hubbard
Shaun Hubbard committed Jun 28, 2016
1 parent 93a1d56 commit b8a16eb20ec817cf231f66dcaa25ce955533a5a2
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/deploy
View
@@ -7,7 +7,7 @@ set -e
branch="$(git symbolic-ref HEAD --short)"
target="${1:-staging}"
git push "$target" "$branch:master"
heroku pg:backups capture --app "$target"
git push -f "$target" "$branch:master"
heroku pg:backups capture --remote "$target"
heroku run rake db:migrate --exit-code --remote "$target"
heroku restart --remote "$target"

0 comments on commit b8a16eb

Please sign in to comment.