-
Notifications
You must be signed in to change notification settings - Fork 23
Releasing & Deploying
We have 2 Heroku deployments:
-
intake-staging
, deploys themaster
branch to https://staging.clearmyrecord.org. -
intake-production
, deploys themaster
branch to https://clearmyrecord.org. The production app can also be updated by promoting the staging app on Heroku.
For any new features, refactors, or fixes, make a new branch off of the
master
branch. For example, feature/my-great-new-feature
. When you are
ready, make a pull request from the new branch into master
.
Opening a pull request on Github will automatically start a CI build on CircleCI. If the build is green, a review app will be created by Heroku where you can review and interact with a deployed version of the code from your pull request.
Any pull request should either be paired on, or should be reviewed by one of the core Clear My Record developers.
When a pull request is approved and merged to master
, another CI build will begin, and green builds will be deployed to staging.
To deploy to production either promote the staging app (preferred) or directly deploy master
to production. Both of these actions happen on Heroku.