docs: modify the description of deploying to Netlify (#7796)

modify build directory to publish directory
This commit is contained in:
Aolin 2022-07-17 19:56:18 +08:00 committed by GitHub
parent 17ec6bbde7
commit fe3dfa720a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -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`.