This is a tutorial on how to setup a new environment. Let's call it beta
.
master
anddevelop
should be at the same point, or at least there is no commits that affects database.- Check out a new branch called
beta
frommaster
.
- Create
src/config/beta.js
based onsrc/config/production.js
.Beta
uses the same GA ID and Intercom ID withProduction
- Include beta in
webpack.config.js
.circleci/config.yml
: addbeta
's logic to the file. Similar tostaging
, it automatically deploys, whenever new changes are pushed tobeta
branch.
- Push the new
beta
branch and let CircleCI do the rest
- Check if all sites are working properly
beta
branch must be protected from now on.