You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
* sets the [app name](https://devcenter.heroku.com/articles/creating-apps#creating-a-named-app) & its default URL `https://$APP_NAME.herokuapp.com`
106
106
* sets the app to use this [buildpack](https://devcenter.heroku.com/articles/buildpacks)
107
-
* configures the [`heroku` git remote](https://devcenter.heroku.com/articles/git#creating-a-heroku-remote) in the local repo, so `git push heroku master` will push to this new Heroku app.
107
+
* configures the [`heroku` git remote](https://devcenter.heroku.com/articles/git#creating-a-heroku-remote) in the local repo, so `git push heroku main` will push to this new Heroku app.
108
108
109
109
### Deploy ♻️
110
110
111
111
```bash
112
-
git push heroku master
112
+
git push heroku main
113
113
```
114
114
115
-
…or if you are ever working on a branch other than `master`:
115
+
…or if you are ever working on a branch other than `main`:
116
116
117
117
✏️ *Replace `$BRANCH_NAME` with the name for the current branch.*
118
118
119
119
```bash
120
-
git push heroku $BRANCH_NAME:master
120
+
git push heroku $BRANCH_NAME:main
121
121
```
122
122
123
123
### Visit the app's public URL in your browser
@@ -134,7 +134,7 @@ Find the app on [your dashboard](https://dashboard.heroku.com).
134
134
135
135
Work with your app locally using `npm start`. See: [create-react-app docs](https://github.com/facebookincubator/create-react-app#getting-started)
Only `REACT_APP_` vars are replaced in create-react-app's build. To make any other variables visible to React, they must be prefixed for the build command in `package.json`, like this:
@@ -480,7 +480,7 @@ Troubleshooting
480
480
481
481
```bash
482
482
git commit --allow-empty -m 'Switch to create-react-app-buildpack'
483
-
git push heroku master
483
+
git push heroku main
484
484
```
485
485
486
486
If the error still occurs, then at least we know it's really using this buildpack! Proceed with troubleshooting.
@@ -495,7 +495,7 @@ Troubleshooting
495
495
Version compatibility
496
496
---------------------
497
497
498
-
This buildpack will never intentionally cause previously deployed apps to become undeployable. Using master [as directed in the main instructions](#user-content-create-the-heroku-app) will always deploy an app with the most recent version of this buildpack.
498
+
This buildpack will never intentionally cause previously deployed apps to become undeployable. Using main [as directed in the main instructions](#user-content-create-the-heroku-app) will always deploy an app with the most recent version of this buildpack.
499
499
500
500
[Releases are tagged](https://github.com/mars/create-react-app-buildpack/releases), so you can lock an app to a specific version, if that kind of determinism pleases you:
0 commit comments