How I Push To Heroku

Deploying to Production

Andy Huynh

1 minute read

This post serves as a deploy catalog. Push to Github: Pull the latest changes from master. Switch to production branch. Update that shit. Check logs and diffs for both branches. Sanity check. git diff production..master Take note of features you’re merging. git merge master git push origin production Push to staging: Check heroku for greens: heroku status git push staging production:master && heroku run rake db:migrate -r staging && heroku restart -r staging Push your production branch to staging’s master branch.