summaryrefslogtreecommitdiff
path: root/bin/heroku-staging
blob: 0baa9a7bd11fab85beefc2e510017be6428b5968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

STAGE=urkel-staging

heroku config --app $STAGE
# TODO: find way to load from .env.staging file without checking into source control.
heroku config:set ASSET_HOST=//urkel-staging.herokuapp.com  \
  APPLICATION_DOMAIN=urkel-staging.herokuapp.com --app $STAGE \
  SMTP_HOST='' \
  SMTP_PORT='' \
  SMTP_DOMAIN='' \
  SMTP_USERNAME='' \
  SMTP_PASSWORD='' \
  EMAIL_RECIPIENTS='' \
  --app $STAGE

git push staging master
heroku run rake db:migrate --app $STAGE