-
Notifications
You must be signed in to change notification settings - Fork 6
Heroku
You will need access from a heroku admin/owner to each app.
-
QA ENVIRONMENT:
heroku git:remote -a qa-back-yards-coffee -r qa
-
DEMO ENVIRONMENT:
heroku git:remote -a demo-back-yards-coffee -r demo
-
PRODUCTION ENVIRONMENT:
heroku git:remote -a back-yards-coffee -r prod
Assuming all tests and status checks are passing, deployments will occur automatically via Codeship after a pull request had been merged into one of the corresponding branches. Deployments can also be made from the command line using the following commands:
-
QA ENVIRONMENT:
git push qa qa:master
-
DEMO ENVIRONMENT:
git push demo demo:master
-
PRODUCTION ENVIRONMENT:
git push prod master
It may be useful to manually deploy a feature branch to qa
before merging to further test your changes.
git push qa <branch-name>:master
-
heroku logs --remote <environment>
-
heroku run rails c --remote <environment>