Skip to content

Commit

Permalink
docs: modify the description of deploying to Netlify (facebook#7796)
Browse files Browse the repository at this point in the history
modify build directory to publish directory
  • Loading branch information
Oreoxmt authored and dpang314 committed Jul 24, 2022
1 parent f3713b5 commit c3fbc21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions website/docs/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ Then, [create your site with Netlify](https://app.netlify.com/start).
While you set up the site, specify the build commands and directories as follows:

- build command: `npm run build`
- build directory: `build`
- publish directory: `build`

If you did not configure these build options, you may still go to "Site settings" -> "Build and deploy" after your site is created.
If you did not configure these build options, you may still go to "Site settings" -> "Build & deploy" after your site is created.

Once properly configured with the above options, your site should deploy and automatically redeploy upon merging to your deploy branch, which defaults to `main`.

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-2.0.0-beta.22/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ Then, [create your site with Netlify](https://app.netlify.com/start).
While you set up the site, specify the build commands and directories as follows:

- build command: `npm run build`
- build directory: `build`
- publish directory: `build`

If you did not configure these build options, you may still go to "Site settings" -> "Build and deploy" after your site is created.
If you did not configure these build options, you may still go to "Site settings" -> "Build & deploy" after your site is created.

Once properly configured with the above options, your site should deploy and automatically redeploy upon merging to your deploy branch, which defaults to `main`.

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-2.0.0-rc.1/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ Then, [create your site with Netlify](https://app.netlify.com/start).
While you set up the site, specify the build commands and directories as follows:

- build command: `npm run build`
- build directory: `build`
- publish directory: `build`

If you did not configure these build options, you may still go to "Site settings" -> "Build and deploy" after your site is created.
If you did not configure these build options, you may still go to "Site settings" -> "Build & deploy" after your site is created.

Once properly configured with the above options, your site should deploy and automatically redeploy upon merging to your deploy branch, which defaults to `main`.

Expand Down

0 comments on commit c3fbc21

Please sign in to comment.